Export (0) Print
Expand All

EmptyModelValidatorProvider.GetValidators Method

Gets the empty model validator.

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

public override function GetValidators(
	metadata : ModelMetadata, 
	context : ControllerContext
) : IEnumerable<ModelValidator>

Parameters

metadata
Type: System.Web.Mvc.ModelMetadata

The metadata.

context
Type: System.Web.Mvc.ControllerContext

The context.

Return Value

Type: System.Collections.Generic.IEnumerable(ModelValidator)
The empty model validator.
Show:
© 2014 Microsoft