Beispiel #1
0
 //Присвоить результат команды Collect
 public void AddCollectResult(string result)
 {
     if (CollectCommand != null)
     {
         CollectedResults = CollectCommand.AddResult(result);
     }
 }
Beispiel #2
0
 //Завершение команды, колекционирущей ошибки
 public CollectCommand FinishCollect(string results = null)
 {
     if (results != null && CollectCommand != null)
     {
         CollectedResults = CollectCommand.AddResult(results);
     }
     return((CollectCommand)FinishCommand(CollectCommand));
 }