다음을 통해 공유


MvcLocalizationMvcBuilderExtensions.AddMvcLocalization 메서드

정의

오버로드

AddMvcLocalization(IMvcBuilder)

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

AddMvcLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

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

AddMvcLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

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

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>)

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

AddMvcLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<MvcDataAnnotationsLocalizationOptions>)

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

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, LanguageViewLocationExpanderFormat)

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

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, Action<MvcDataAnnotationsLocalizationOptions>)

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

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, LanguageViewLocationExpanderFormat, Action<MvcDataAnnotationsLocalizationOptions>)

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

AddMvcLocalization(IMvcBuilder)

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

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

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

매개 변수

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat)

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

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

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

매개 변수

format
LanguageViewLocationExpanderFormat

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

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

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

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions>? dataAnnotationsLocalizationOptionsSetupAction);
static member AddMvcLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddMvcLocalization (builder As IMvcBuilder, dataAnnotationsLocalizationOptionsSetupAction As Action(Of MvcDataAnnotationsLocalizationOptions)) As IMvcBuilder

매개 변수

dataAnnotationsLocalizationOptionsSetupAction
Action<MvcDataAnnotationsLocalizationOptions>

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>)

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

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

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

매개 변수

localizationOptionsSetupAction
Action<LocalizationOptions>

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, LanguageViewLocationExpanderFormat, Action<MvcDataAnnotationsLocalizationOptions>)

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

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

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat format, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions>? dataAnnotationsLocalizationOptionsSetupAction);
static member AddMvcLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpanderFormat * Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddMvcLocalization (builder As IMvcBuilder, format As LanguageViewLocationExpanderFormat, dataAnnotationsLocalizationOptionsSetupAction As Action(Of MvcDataAnnotationsLocalizationOptions)) As IMvcBuilder

매개 변수

format
LanguageViewLocationExpanderFormat

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

dataAnnotationsLocalizationOptionsSetupAction
Action<MvcDataAnnotationsLocalizationOptions>

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, LanguageViewLocationExpanderFormat)

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

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

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

매개 변수

localizationOptionsSetupAction
Action<LocalizationOptions>

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

format
LanguageViewLocationExpanderFormat

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, Action<MvcDataAnnotationsLocalizationOptions>)

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

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

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions> localizationOptionsSetupAction, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> dataAnnotationsLocalizationOptionsSetupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddMvcLocalization (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.Extensions.Localization.LocalizationOptions>? localizationOptionsSetupAction, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions>? dataAnnotationsLocalizationOptionsSetupAction);
static member AddMvcLocalization : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.Extensions.Localization.LocalizationOptions> * Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddMvcLocalization (builder As IMvcBuilder, localizationOptionsSetupAction As Action(Of LocalizationOptions), dataAnnotationsLocalizationOptionsSetupAction As Action(Of MvcDataAnnotationsLocalizationOptions)) As IMvcBuilder

매개 변수

localizationOptionsSetupAction
Action<LocalizationOptions>

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

dataAnnotationsLocalizationOptionsSetupAction
Action<MvcDataAnnotationsLocalizationOptions>

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

반환

IMvcBuilder

설명

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

적용 대상

AddMvcLocalization(IMvcBuilder, Action<LocalizationOptions>, LanguageViewLocationExpanderFormat, Action<MvcDataAnnotationsLocalizationOptions>)

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

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

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

매개 변수

localizationOptionsSetupAction
Action<LocalizationOptions>

를 구성하는 작업입니다 LocalizationOptions. null일 수 있습니다.

format
LanguageViewLocationExpanderFormat

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

dataAnnotationsLocalizationOptionsSetupAction
Action<MvcDataAnnotationsLocalizationOptions>

를 구성하는 작업입니다 MvcDataAnnotationsLocalizationOptions. null일 수 있습니다.

반환

IMvcBuilder

설명

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

적용 대상