다음을 통해 공유


MvcLocalizationMvcCoreBuilderExtensions.AddViewLocalization 메서드

정의

오버로드

AddViewLocalization(IMvcCoreBuilder)

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

AddViewLocalization(IMvcCoreBuilder, LanguageViewLocationExpanderFormat)

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

AddViewLocalization(IMvcCoreBuilder, Action<LocalizationOptions>)

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

AddViewLocalization(IMvcCoreBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

AddViewLocalization(IMvcCoreBuilder)

Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcCoreBuilder) As IMvcCoreBuilder

매개 변수

반환

IMvcCoreBuilder

설명

지역화를 추가하면 를 통한 보기 및 를 통한 AddViews(IMvcCoreBuilder)AddRazorViewEngine(IMvcCoreBuilder)Razor 뷰 엔진에 대한 지원도 추가됩니다.

적용 대상

AddViewLocalization(IMvcCoreBuilder, LanguageViewLocationExpanderFormat)

Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcCoreBuilder, format As LanguageViewLocationExpanderFormat) As IMvcCoreBuilder

매개 변수

format
LanguageViewLocationExpanderFormat

지역화된 뷰의 보기 형식입니다.

반환

IMvcCoreBuilder

설명

지역화를 추가하면 를 통한 보기 및 를 통한 AddViews(IMvcCoreBuilder)AddRazorViewEngine(IMvcCoreBuilder)Razor 뷰 엔진에 대한 지원도 추가됩니다.

적용 대상

AddViewLocalization(IMvcCoreBuilder, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions> setupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions>? setupAction);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcCoreBuilder, setupAction As Action(Of LocalizationOptions)) As IMvcCoreBuilder

매개 변수

setupAction
Action<LocalizationOptions>

를 구성하는 작업입니다 LocalizationOptions.

반환

IMvcCoreBuilder

설명

지역화를 추가하면 를 통한 보기 및 를 통한 AddViews(IMvcCoreBuilder)AddRazorViewEngine(IMvcCoreBuilder)Razor 뷰 엔진에 대한 지원도 추가됩니다.

적용 대상

AddViewLocalization(IMvcCoreBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs
Source:
MvcLocalizationMvcCoreBuilderExtensions.cs

애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.Extensions.Localization.LocalizationOptions> setupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddViewLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.Extensions.Localization.LocalizationOptions>? setupAction);
static member AddViewLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat * Action<Microsoft.Extensions.Localization.LocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddViewLocalization (builder As IMvcCoreBuilder, format As LanguageViewLocationExpanderFormat, setupAction As Action(Of LocalizationOptions)) As IMvcCoreBuilder

매개 변수

format
LanguageViewLocationExpanderFormat

지역화된 뷰의 보기 형식입니다.

setupAction
Action<LocalizationOptions>

를 구성하는 작업입니다 LocalizationOptions.

반환

IMvcCoreBuilder

설명

지역화를 추가하면 를 통한 보기 및 를 통한 AddViews(IMvcCoreBuilder)AddRazorViewEngine(IMvcCoreBuilder)Razor 뷰 엔진에 대한 지원도 추가됩니다.

적용 대상