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