Condividi tramite


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Metodo

Definizione

Overload

AddDataAnnotationsLocalization(IMvcBuilder)

Aggiunge la localizzazione delle annotazioni dei dati MVC all'applicazione.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Aggiunge la localizzazione delle annotazioni dei dati MVC all'applicazione.

AddDataAnnotationsLocalization(IMvcBuilder)

Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs

Aggiunge la localizzazione delle annotazioni dei dati MVC all'applicazione.

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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs
Origine:
MvcDataAnnotationsMvcBuilderExtensions.cs

Aggiunge la localizzazione delle annotazioni dei dati MVC all'applicazione.

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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a