Example #1
0
 public static CmdExecutor <TEnv> Void2Null <TEnv>(VoidCmdExecutor <TEnv> vce)
 {
     return((TEnv env, Args args, Args dict) => {
         vce(env, args, dict);
         return null;
     });
 }
 public CommandNode <TEnv> Executes(VoidCmdExecutor <TEnv> vce)
 {
     Executor = ArgUtil.Void2Null(vce);
     return(this);
 }