次の方法で共有


MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotationsLocalization メソッド

定義

オーバーロード

AddDataAnnotationsLocalization(IMvcCoreBuilder)

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

AddDataAnnotationsLocalization(IMvcCoreBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

MVC データ注釈のローカライズ用に構成 MvcDataAnnotationsLocalizationOptions するアクションを登録します。

AddDataAnnotationsLocalization(IMvcCoreBuilder)

ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs

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

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddDataAnnotationsLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddDataAnnotationsLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddDataAnnotationsLocalization (builder As IMvcCoreBuilder) As IMvcCoreBuilder

パラメーター

戻り値

IMvcCoreBuilder

適用対象

AddDataAnnotationsLocalization(IMvcCoreBuilder, Action<MvcDataAnnotationsLocalizationOptions>)

ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs
ソース:
MvcDataAnnotationsMvcCoreBuilderExtensions.cs

MVC データ注釈のローカライズ用に構成 MvcDataAnnotationsLocalizationOptions するアクションを登録します。

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddDataAnnotationsLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> setupAction);
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddDataAnnotationsLocalization (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions>? setupAction);
static member AddDataAnnotationsLocalization : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.DataAnnotations.MvcDataAnnotationsLocalizationOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddDataAnnotationsLocalization (builder As IMvcCoreBuilder, setupAction As Action(Of MvcDataAnnotationsLocalizationOptions)) As IMvcCoreBuilder

パラメーター

戻り値

IMvcBuilder

適用対象