MvcLocalizationMvcBuilderExtensions.AddViewLocalization 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AddViewLocalization(IMvcBuilder) |
애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다. |
AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat) |
애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다. |
AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>) |
애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다. |
AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>) |
애플리케이션에 MVC 뷰 지역화 서비스를 추가합니다. |
AddViewLocalization(IMvcBuilder)
애플리케이션에 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
매개 변수
- builder
- IMvcBuilder
반환
적용 대상
AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)
애플리케이션에 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
매개 변수
- builder
- IMvcBuilder
지역화된 뷰의 보기 형식입니다.
반환
적용 대상
AddViewLocalization(IMvcBuilder, Action<LocalizationOptions>)
애플리케이션에 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
매개 변수
- builder
- IMvcBuilder
- setupAction
- Action<LocalizationOptions>
를 구성하는 작업입니다 LocalizationOptions.
반환
적용 대상
AddViewLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<LocalizationOptions>)
애플리케이션에 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
매개 변수
- builder
- IMvcBuilder
지역화된 뷰의 보기 형식입니다.
- setupAction
- Action<LocalizationOptions>
를 구성하는 작업입니다 LocalizationOptions.