Udostępnij za pośrednictwem


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization Metoda

Definicja

Przeciążenia

AddDataAnnotationsLocalization(IMvcBuilder)

Dodaje adnotacje danych MVC do aplikacji.

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Dodaje adnotacje danych MVC do aplikacji.

AddDataAnnotationsLocalization(IMvcBuilder)

Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs
Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs
Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs

Dodaje adnotacje danych MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs
Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs
Źródło:
MvcDataAnnotationsMvcBuilderExtensions.cs

Dodaje adnotacje danych MVC do aplikacji.

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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

Zwraca

Element IMvcBuilder.

Dotyczy