EmptyModelValidatorProvider EmptyModelValidatorProvider EmptyModelValidatorProvider Class

Definition

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
EmptyModelValidatorProviderEmptyModelValidatorProviderEmptyModelValidatorProvider

Constructors

EmptyModelValidatorProvider() EmptyModelValidatorProvider() EmptyModelValidatorProvider()

Initializes a new instance of the EmptyModelValidatorProvider class.

Methods

GetValidators(ModelMetadata, ControllerContext) GetValidators(ModelMetadata, ControllerContext) GetValidators(ModelMetadata, ControllerContext)

Gets the empty model validator.

Applies to