DataAnnotationsValidatableObjectAdapterFactory Delegate

 

Provides a factory for validators that are based on IValidatableObject.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public delegate ModelValidator DataAnnotationsValidatableObjectAdapterFactory(
    ModelMetadata metadata,
    ControllerContext context
)
public delegate ModelValidator^ DataAnnotationsValidatableObjectAdapterFactory(
    ModelMetadata^ metadata,
    ControllerContext^ context
)
type DataAnnotationsValidatableObjectAdapterFactory = 
    delegate of 
        metadata:ModelMetadata *
        context:ControllerContext -> ModelValidator
Public Delegate Function DataAnnotationsValidatableObjectAdapterFactory (
    metadata As ModelMetadata,
    context As ControllerContext
) As ModelValidator

Return Value

Type: System.Web.Mvc.ModelValidator

See Also

System.Web.Mvc Namespace

Return to top