編輯

共用方式為


ConfigurationValidatorBase Class

Definition

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