다음을 통해 공유


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

적용 대상