AsyncDelegateRule Constructor
Class constructor.
Namespace: Aliquo.Windows.BaseAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public AsyncDelegateRule(
string propertyName,
Object error,
Func<Task<bool>> rule
)
Public Sub New (
propertyName As String,
error As Object,
rule As Func(Of Task(Of Boolean))
)
Parameters
- propertyName String
- Name of the property that is associated with the rule.
- error Object
- Object that provides information about disability.
- rule FuncTaskBoolean
- Delegate method or Lambda expression used to check the rule.