예제 #1
0
 protected virtual ICommand GetCommandWrapper(IRareCommand rareCommand)
 {
     return(new RareCommandWrapper(rareCommand));
 }
예제 #2
0
 protected virtual ServiceForPlantVMBase GetRareCommandActionVM(IRareCommand rareCommand)
 {
     return(new ServiceForPlantActionPerformVM(rareCommand.Title, rareCommand.Description, this.GetCommandWrapper(rareCommand)));
 }
예제 #3
0
 public RareCommandWrapper([NotNull] IRareCommand rareCommand)
 {
     Assert.ArgumentNotNull(rareCommand, "rareCommand");
     this.RareCommand = rareCommand;
 }