Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EmptyModelValidatorProvider.GetValidators Method

.NET Framework 4

Gets the empty model validator.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public override IEnumerable<ModelValidator> GetValidators(
	ModelMetadata metadata,
	ControllerContext context
)

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.