Compartilhar via


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Método

Definição

Sobrecargas

AddDataAnnotationsLocalization(IMvcBuilder)

Adiciona a localização de anotações de dados MVC ao aplicativo.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Adiciona a localização de anotações de dados MVC ao aplicativo.

AddDataAnnotationsLocalization(IMvcBuilder)

Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs

Adiciona a localização de anotações de dados MVC ao aplicativo.

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

Parâmetros

Retornos

O IMvcBuilder.

Aplica-se a

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origem:
MvcDataAnnotationsMvcBuilderExtensions.cs

Adiciona a localização de anotações de dados MVC ao aplicativo.

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

Parâmetros

Retornos

O IMvcBuilder.

Aplica-se a