次の方法で共有


MvcDataAnnotationsMvcBuilderExtensions.AddDataAnnotationsLocalization メソッド

定義

オーバーロード

AddDataAnnotationsLocalization(IMvcBuilder)

MVC データ注釈のローカライズをアプリケーションに追加します。

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

MVC データ注釈のローカライズをアプリケーションに追加します。

AddDataAnnotationsLocalization(IMvcBuilder)

ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs

MVC データ注釈のローカライズをアプリケーションに追加します。

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

パラメーター

戻り値

IMvcBuilder

適用対象

AddDataAnnotationsLocalization(IMvcBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcBuilderExtensions.cs

MVC データ注釈のローカライズをアプリケーションに追加します。

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

パラメーター

戻り値

IMvcBuilder

適用対象