ConfigurationValidatorBase Class
Definition
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.
Acts as a base class for deriving a validation class so that a value of an object can be verified.
public ref class ConfigurationValidatorBase abstract
public abstract class ConfigurationValidatorBase
type ConfigurationValidatorBase = class
Public MustInherit Class ConfigurationValidatorBase
- Inheritance
-
ConfigurationValidatorBase
- Derived
Remarks
The ConfigurationValidatorBase class is used to create a custom validator. A custom validator can be used to verify object values.
Constructors
ConfigurationValidatorBase() |
Initializes an instance of the ConfigurationValidatorBase class. |
Methods
CanValidate(Type) |
Determines whether an object can be validated based on type. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Validate(Object) |
Determines whether the value of an object is valid. |
Applies to
See also
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par