[]
Represents a special BaseDataValidator implementation that validates whether the specified and compared values satisfy the given comparison relationship.
public abstract class CompareValueBaseValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Public MustInherit Class CompareValueBaseValidator
Inherits BaseDataValidator
Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Inheriting this class is not recommended.
| Name | Description |
|---|---|
| CompareValueBaseValidator() | Represents the default empty constructor. |
| CompareValueBaseValidator(SerializationInfo, StreamingContext) | Initializes a new instance of this class. |
| Name | Description |
|---|---|
| ComparedOperator | Gets or sets a value that indicates the comparison relationship of the specified and compared values. |
| DifferenceValue | Gets or sets the difference between the specified and compared values. |
| NullIsValid | Gets or sets whether the validation always succeeds when the specified value is null. |
| RequiredType | Gets or sets the specified value's required Type. |
| Name | Description |
|---|---|
| Deserialize(XmlNodeReader) | Loads the object from XML. |
| GetObjectData(SerializationInfo, StreamingContext) | Gets the object data. |
| Serialize(XmlTextWriter) | Saves the object to XML. |
| Validate(ValidateActionContext) | Validates whether the specified value and compared value satisfy the given comparison relationship. |