Method BindCommand
BindCommand<TContext>(Binder<TContext>, Action<TContext>, Expression<Func<TContext, bool>>)
Declaration
public static CommandRuleBinder<TContext> BindCommand<TContext>(this Binder<TContext> binder, Action<TContext> executeAction, Expression<Func<TContext, bool>> canExecuteExpression) where TContext : class
Parameters
Returns
Type Parameters
Name |
Description |
TContext |
|
BindCommand<TContext>(Binder<TContext>, Action<TContext, object>, Expression<Func<TContext, object, bool>>)
Declaration
public static CommandRuleBinder<TContext> BindCommand<TContext>(this Binder<TContext> binder, Action<TContext, object> executeAction, Expression<Func<TContext, object, bool>> canExecuteExpression) where TContext : class
Parameters
Returns
Type Parameters
Name |
Description |
TContext |
|