Delen via


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
EmptyModelValidatorProvider

Constructors

EmptyModelValidatorProvider()

Initializes a new instance of the EmptyModelValidatorProvider class.

Methods

GetValidators(ModelMetadata, ControllerContext)

Gets the empty model validator.

Applies to