Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides an object adapter that can be validated.
Inheritance Hierarchy
System.Object
System.Web.Http.Validation.ModelValidator
System.Web.Http.Validation.Validators.ValidatableObjectAdapter
Namespace: System.Web.Http.Validation.Validators
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Class ValidatableObjectAdapter _
Inherits ModelValidator
'Usage
Dim instance As ValidatableObjectAdapter
public class ValidatableObjectAdapter : ModelValidator
public ref class ValidatableObjectAdapter : public ModelValidator
type ValidatableObjectAdapter =
class
inherit ModelValidator
end
public class ValidatableObjectAdapter extends ModelValidator
The ValidatableObjectAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ValidatableObjectAdapter | Initializes a new instance of the ValidatableObjectAdapter class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
IsRequired | Gets a value that indicates whether a model property is required. (Inherited from ModelValidator.) |
![]() |
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 specified object. (Overrides ModelValidator.Validate(ModelMetadata, 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.