Initializes a new instance of the ConstraintBinding<(Of <(<'T>)>)> class
Namespace: DatabaseObjects.ConstraintsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public ConstraintBinding( Func<T> getValue, IConstraint<T> constraint, string errorMessage ) |
Visual Basic |
---|
Public Sub New ( _ getValue As Func(Of T), _ constraint As IConstraint(Of T), _ errorMessage As String _ ) |
Visual C++ |
---|
public: ConstraintBinding( Func<T>^ getValue, IConstraint<T>^ constraint, String^ errorMessage ) |
Parameters
- getValue
- Type: System..::..Func<(Of <(<'T>)>)>
[Missing <param name="getValue"/> documentation for "M:DatabaseObjects.Constraints.ConstraintBinding`1.#ctor(System.Func{`0},DatabaseObjects.Constraints.IConstraint{`0},System.String)"]
- constraint
- Type: DatabaseObjects.Constraints..::..IConstraint<(Of <(<'T>)>)>
[Missing <param name="constraint"/> documentation for "M:DatabaseObjects.Constraints.ConstraintBinding`1.#ctor(System.Func{`0},DatabaseObjects.Constraints.IConstraint{`0},System.String)"]
- errorMessage
- Type: System..::..String
An error message that is raised as part of an exception, and/or from the user interface. Parameter {0} represents the value from the callback.