Esempio n. 1
0
 public override void UpdateForEachInputs(IList <Tuple <string, string> > updates)
 {
     if (updates == null)
     {
         return;
     }
     foreach (var t in updates)
     {
         if (t.Item1 == CommandFileName)
         {
             CommandFileName = t.Item2;
         }
         else if (t.Item1 == CommandPriority.ToString())
         {
             CommandPriority = (ProcessPriorityClass)Enum.Parse(typeof(ProcessPriorityClass), t.Item2, true);
         }
     }
 }
Esempio n. 2
0
 public override IList <DsfForEachItem> GetForEachInputs()
 {
     return(GetForEachItems(CommandFileName, CommandPriority.ToString()));
 }