Method AddRule
AddRule<TContext>(Binder<TContext>, Action<TContext>, string, string, bool, bool, Expression, params Expression[])
Declaration
public static void AddRule<TContext>(this Binder<TContext> binder, Action<TContext> bindingAction, string key, string debugDescription, bool runOnAttach, bool canOverride, Expression stampExpression, params Expression[] triggerExpressions) where TContext : class
Parameters
| Type | Name | Description |
|---|---|---|
| Binder<TContext> | binder | |
| Action<TContext> | bindingAction | |
| string | key | |
| string | debugDescription | |
| bool | runOnAttach | |
| bool | canOverride | |
| Expression | stampExpression | |
| Expression[] | triggerExpressions |
Type Parameters
| Name | Description |
|---|---|
| TContext |