Partager via


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Méthode

Définition

Surcharges

AddDataAnnotationsLocalization(IMvcBuilder)

Ajoute la localisation des annotations de données MVC à l’application.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Ajoute la localisation des annotations de données MVC à l’application.

AddDataAnnotationsLocalization(IMvcBuilder)

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

Ajoute la localisation des annotations de données MVC à l’application.

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

Paramètres

builder
IMvcBuilder

L’IMvcBuilderopérateur

Retours

L’IMvcBuilderopérateur

S’applique à

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

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

Ajoute la localisation des annotations de données MVC à l’application.

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

Paramètres

builder
IMvcBuilder

L’IMvcBuilderopérateur

Retours

L’IMvcBuilderopérateur

S’applique à