Craig's Utility Library
4.0 Beta
|
Generic constraint More...
Public Member Functions | |
GenericConstraint () | |
Initializes a new instance of the GenericConstraint<T> class. More... | |
GenericConstraint (Predicate< T > Constraint) | |
Initializes a new instance of the GenericConstraint<T> class. More... | |
bool | Eval (T Value) |
Evaluates the contraint against the value passed in and returns the result More... | |
Properties | |
Predicate< T > | InternalFunction [get] |
Gets or sets the internal function. More... | |
Generic constraint
T | Data type |
Definition at line 36 of file GenericConstraint.cs.
Initializes a new instance of the GenericConstraint<T> class.
Definition at line 41 of file GenericConstraint.cs.
Utilities.Workflow.Manager.GenericConstraint< T >.GenericConstraint | ( | Predicate< T > | Constraint | ) |
Initializes a new instance of the GenericConstraint<T> class.
Constraint | The constraint predicate. |
Definition at line 49 of file GenericConstraint.cs.
bool Utilities.Workflow.Manager.GenericConstraint< T >.Eval | ( | T | Value | ) |
Evaluates the contraint against the value passed in and returns the result
Value | The value. |
Implements Utilities.Workflow.Manager.Interfaces.IConstraint< T >.
Definition at line 65 of file GenericConstraint.cs.
|
get |
Gets or sets the internal function.
The internal function.
Definition at line 58 of file GenericConstraint.cs.