DataAnnotationsModelValidationFactory DataAnnotationsModelValidationFactory DataAnnotationsModelValidationFactory DataAnnotationsModelValidationFactory Delegate

Definizione

Rappresenta il metodo che crea un'istanza DataAnnotationsModelValidatorProvider.Represents the method that creates a DataAnnotationsModelValidatorProvider instance.

public delegate System::Web::ModelBinding::ModelValidator ^ DataAnnotationsModelValidationFactory(ModelMetadata ^ metadata, ModelBindingExecutionContext ^ context, ValidationAttribute ^ attribute);
public delegate System.Web.ModelBinding.ModelValidator DataAnnotationsModelValidationFactory(ModelMetadata metadata, ModelBindingExecutionContext context, ValidationAttribute attribute);
type DataAnnotationsModelValidationFactory = delegate of ModelMetadata * ModelBindingExecutionContext * ValidationAttribute -> ModelValidator
Public Delegate Function DataAnnotationsModelValidationFactory(metadata As ModelMetadata, context As ModelBindingExecutionContext, attribute As ValidationAttribute) As ModelValidator 

Parametri

Valore restituito

System.Web.ModelBinding.ModelValidator
Ereditarietà
DataAnnotationsModelValidationFactoryDataAnnotationsModelValidationFactoryDataAnnotationsModelValidationFactoryDataAnnotationsModelValidationFactory

Metodi di estensione

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a