Click or drag to resize

PropertyValidatorTClass Class

Defines a validator for a property that is declared by a class of type T.
Inheritance Hierarchy
SystemObject
  Xploration.ValidationPropertyValidatorTClass

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public class PropertyValidator<TClass> : IDelegatedValidator, 
	IEquatable<PropertyValidator<TClass>>
where TClass : class

Type Parameters

TClass
The class type that declares the property.

The PropertyValidatorTClass type exposes the following members.

Constructors
  NameDescription
Public methodPropertyValidatorTClass
Initializes a new instance of the PropertyValidatorTClass class with a property and validator.
Top
Properties
  NameDescription
Public propertyCondition
Gets or sets a run condition for the validator.
Public propertyErrorProvider
Gets or sets the error provider.
Public propertyProperty
Gets the property to validate.
Public propertyValidator
Gets the validator.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines if a given object is equal to the current validator.
(Overrides ObjectEquals(Object).)
Public methodEquals(PropertyValidatorTClass)
Determines if a given PropertyValidatorTClass is equal to the current validator.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodValidateAsync
Determines if the given property context is valid and registers results to the context.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines if the given validators can be considered equal.
Public operatorStatic memberInequality
Determines if the given validators can not be considered equal.
Top
See Also