RequiredMemberModelValidator Class
Represents the ModelValidator for required members.
Inheritance Hierarchy
System.Object
System.Web.Http.Validation.ModelValidator
System.Web.Http.Validation.Validators.RequiredMemberModelValidator
Namespace: System.Web.Http.Validation.Validators
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class RequiredMemberModelValidator _
Inherits ModelValidator
'Usage
Dim instance As RequiredMemberModelValidator
public class RequiredMemberModelValidator : ModelValidator
public ref class RequiredMemberModelValidator : public ModelValidator
type RequiredMemberModelValidator =
class
inherit ModelValidator
end
public class RequiredMemberModelValidator extends ModelValidator
The RequiredMemberModelValidator type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RequiredMemberModelValidator | Initializes a new instance of the RequiredMemberModelValidator class. |
Top
Properties
Name | Description | |
---|---|---|
IsRequired | Gets or sets a value that instructs the serialization engine that the member must be presents when validating. (Overrides ModelValidator.IsRequired.) | |
ValidatorProviders | Gets or sets an enumeration of validator providers. (Inherited from ModelValidator.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Validate | Validates the object. (Overrides ModelValidator.Validate(ModelMetadata, Object).) |
Top
Remarks
No content here will be updated; please do not add material here.
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.