示例#1
0
 private void AugmentCommandDetails(ICommandConfiguration<Command> x, string name, BaseObject bo)
 {
     x.ConstructUsing(() => construct(name, bo));
     x.OnFailure(f => fail(f));
     x.OnSuccess(s => success(s));
     x.OnProgress(p => progress(p));
 }
示例#2
0
 protected void ExecCommand(string name, BaseObject bo)
 {
     commandExecutor.Execute<Command>(x => AugmentCommandDetails(x, name, bo));
 }