Click or drag to resize

FuncBasedValidatorTValue Class

Simple validator which validates values using a func, to see if the value is valid.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.ValidationFuncBasedValidatorTValue

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Validation
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public class FuncBasedValidator<TValue> : IValidator<TValue>

Type Parameters

TValue

The FuncBasedValidatorTValue type exposes the following members.

Constructors
  NameDescription
Public methodFuncBasedValidatorTValue
Initializes a new instance of the FuncBasedValidatorTValue class.
Top
Properties
  NameDescription
Public propertyValidationError
Gets the validation error which occured during the last Validate call, or string.Empty if nothing was wrong or Validate hasn't been called yet.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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.
(Inherited from Object.)
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.
(Inherited from Object.)
Public methodValidate
Validates the specified value to validate.
Top
See Also