다음을 통해 공유


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization 메서드

정의

오버로드

AddDataAnnotationsLocalization(IMvcBuilder)

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

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

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

AddDataAnnotationsLocalization(IMvcBuilder)

Source:
MvcDataAnnotationsMvcBuilderExtensions.cs
Source:
MvcDataAnnotationsMvcBuilderExtensions.cs
Source:
MvcDataAnnotationsMvcBuilderExtensions.cs

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

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

매개 변수

반환

IMvcBuilder

적용 대상

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Source:
MvcDataAnnotationsMvcBuilderExtensions.cs
Source:
MvcDataAnnotationsMvcBuilderExtensions.cs
Source:
MvcDataAnnotationsMvcBuilderExtensions.cs

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

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

매개 변수

반환

IMvcBuilder

적용 대상