Freigeben über


RequiredMemberModelValidatorProvider Class

Represents the provider for the required member model validator.

Inheritance Hierarchy

System.Object
  System.Web.Http.Validation.ModelValidatorProvider
    System.Web.Http.Validation.Providers.RequiredMemberModelValidatorProvider

Namespace:  System.Web.Http.Validation.Providers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class RequiredMemberModelValidatorProvider _
    Inherits ModelValidatorProvider
'Usage
Dim instance As RequiredMemberModelValidatorProvider
public class RequiredMemberModelValidatorProvider : ModelValidatorProvider
public ref class RequiredMemberModelValidatorProvider : public ModelValidatorProvider
type RequiredMemberModelValidatorProvider =  
    class 
        inherit ModelValidatorProvider 
    end
public class RequiredMemberModelValidatorProvider extends ModelValidatorProvider

The RequiredMemberModelValidatorProvider type exposes the following members.

Constructors

  Name Description
Public method RequiredMemberModelValidatorProvider Initializes a new instance of the RequiredMemberModelValidatorProvider class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValidators Gets the validator for the member model. (Overrides ModelValidatorProvider.GetValidators(ModelMetadata, IEnumerable<ModelValidatorProvider>).)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Validation.Providers Namespace