Compartir a través de


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Método

Definición

Sobrecargas

AddDataAnnotationsLocalization(IMvcBuilder)

Agrega la localización de anotaciones de datos de MVC a la aplicación.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Agrega la localización de anotaciones de datos de MVC a la aplicación.

AddDataAnnotationsLocalization(IMvcBuilder)

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

Agrega la localización de anotaciones de datos de MVC a la aplicación.

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

Devoluciones

IMvcBuilder.

Se aplica a

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

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

Agrega la localización de anotaciones de datos de MVC a la aplicación.

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

Devoluciones

IMvcBuilder.

Se aplica a