RuleCollectionAddAsync Method

Add a new rule to the collection asynchronously.

Definition

Namespace: Aliquo.Windows.Base
Assembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
C#
public void AddAsync(
	string propertyName,
	Object error,
	Func<Task<bool>> rule
)

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.

See Also