RuleCollectionAddAsync Method
Add a new rule to the collection asynchronously.
Namespace: Aliquo.Windows.BaseAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public void AddAsync(
string propertyName,
Object error,
Func<Task<bool>> rule
)
Public Sub AddAsync (
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.