다음을 통해 공유


MvcLocalizationMvcBuilderExtensions.AddViewLocalization 메서드

정의

오버로드

AddViewLocalization(IMvcBuilder)

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

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

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

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

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

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

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

AddViewLocalization(IMvcBuilder)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

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

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

매개 변수

반환

IMvcBuilder

적용 대상

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

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

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

매개 변수

format
LanguageViewLocationExpanderFormat

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

반환

IMvcBuilder

적용 대상

AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

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

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

매개 변수

setupAction
Action<LocalizationOptions>

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

반환

IMvcBuilder

적용 대상

AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)

Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs
Source:
MvcLocalizationMvcBuilderExtensions.cs

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

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

매개 변수

format
LanguageViewLocationExpanderFormat

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

setupAction
Action<LocalizationOptions>

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

반환

IMvcBuilder

적용 대상