Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ValidatableObjectAdapter Class

ValidatableObjectAdapter Class

Provides an object adapter that can be validated.

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)

public class ValidatableObjectAdapter : ModelValidator

The ValidatableObjectAdapter type exposes the following members.

  NameDescription
Public methodValidatableObjectAdapterInitializes a new instance of the ValidatableObjectAdapter class.
Top

  NameDescription
Public propertyIsRequiredGets a value that indicates whether a model property is required. (Inherited from ModelValidator.)
Protected propertyValidatorProvidersGets or sets an enumeration of validator providers. (Inherited from ModelValidator.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidateValidates the specified object. (Overrides ModelValidator.Validate(ModelMetadata, Object).)
Top

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