次の方法で共有


MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations メソッド

定義

MVC データ注釈を登録します。

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

パラメーター

戻り値

IMvcBuilder

適用対象