ModelValidator Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a base class for implementing validation logic.
public ref class ModelValidator abstract
public abstract class ModelValidator
type ModelValidator = class
Public MustInherit Class ModelValidator
- Inheritance
-
ModelValidator
- Derived
Model |
Initializes a new instance of the ModelValidator class. |
Is |
When implemented in a derived class, gets a value that indicates whether the model is required. |
Metadata |
When implemented in a derived class, gets the metadata for the model validator. |
Model |
When implemented in a derived class, gets the execution context. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Returns a composite model validator for the model. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Validate(Object) |
When implemented in a derived class, validates the object. |
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: