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