EmptyModelValidatorProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an empty validation provider for models that do not require a validator.
public class EmptyModelValidatorProvider : System.Web.Mvc.ModelValidatorProvider
type EmptyModelValidatorProvider = class
inherit ModelValidatorProvider
Public Class EmptyModelValidatorProvider
Inherits ModelValidatorProvider
- Inheritance
Constructors
EmptyModelValidatorProvider() |
Initializes a new instance of the EmptyModelValidatorProvider class. |
Methods
GetValidators(ModelMetadata, ControllerContext) |
Gets the empty model validator. |