Condividi tramite


MvcDataAnnotationsMvcCoreBuilderExtensions.AddDataAnnotations Metodo

Definizione

Registra le annotazioni dei dati 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

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a