Compartir a través de


MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations Método

Definición

Registra anotaciones de datos de 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

Parámetros

Devoluciones

IMvcBuilder.

Se aplica a