MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Methode

Definition

Überlädt

AddDataAnnotationsLocalization(IMvcBuilder)

Fügt der Anwendung die Lokalisierung von MVC-Datenanmerkungen hinzu.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Fügt der Anwendung die Lokalisierung von MVC-Datenanmerkungen hinzu.

AddDataAnnotationsLocalization(IMvcBuilder)

Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs
Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs
Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs

Fügt der Anwendung die Lokalisierung von MVC-Datenanmerkungen hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für:

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs
Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs
Quelle:
MvcDataAnnotationsMvcBuilderExtensions.cs

Fügt der Anwendung die Lokalisierung von MVC-Datenanmerkungen hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

Gibt zurück

Die IMvcBuilder.

Gilt für: