RuleCollectionAdd Method

Add a new rule to the collection.

Definition

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

Parameters

propertyName  String
Name of the property that is associated with the rule.
error  Object
Object that provides information about disability.
rule  FuncBoolean
Delegate method or Lambda expression used to check the rule.

See Also