Exemplo n.º 1
0
 public static Commander RegisterMethod(this Commander commander, MethodInfo method)
 {
     commander.Register(CommandBuilder.FromMethod(method));
     return(commander);
 }
Exemplo n.º 2
0
 public static Commander RegisterExpression(this Commander commander, LambdaExpression lambda)
 {
     return(commander);
 }
Exemplo n.º 3
0
 public static Commander RegisterStaticMethodsOf <T>(this Commander commander)
 {
     return(commander.RegisterStaticMethodsOf(typeof(T)));
 }
Exemplo n.º 4
0
 public static Commander RegisterExpression <TDelegate>(this Commander commander, Expression <TDelegate> expression)
 {
     return(commander.RegisterExpression((LambdaExpression)expression));
 }