[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CompareValueBaseValidator

CompareValueBaseValidator Class

Represents a special BaseDataValidator implementation that validates whether the specified and compared values satisfy the given comparison relationship.

Inheritance
CompareValueBaseValidator
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public abstract class CompareValueBaseValidator : BaseDataValidator, ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Public MustInherit Class CompareValueBaseValidator
    Inherits BaseDataValidator
    Implements ICloneable, ISerializable, IDeserializationCallback, ISerializeSupport, INamedObject
Remarks

Inheriting this class is not recommended.

Constructors

Name Description
CompareValueBaseValidator()

Represents the default empty constructor.

CompareValueBaseValidator(SerializationInfo, StreamingContext)

Initializes a new instance of this class.

Properties

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.

Methods

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.