コード例 #1
0
 public void InitProcList(List <LabClient> clients)
 {
     procList = new List <CompAndProcesses>();
     foreach (var client in clients)
     {
         var ComProc = new CompAndProcesses();
         ComProc.computer = client;
         procList.Add(ComProc);
     }
 }
コード例 #2
0
ファイル: CustomRun.xaml.cs プロジェクト: introsuit/LabRun
 public void InitProcList(List <LabClient> clients)
 {
     this.procList = new List <CompAndProcesses>();
     foreach (LabClient client in clients)
     {
         CompAndProcesses ComProc = new CompAndProcesses();
         ComProc.computer  = client;
         ComProc.processes = new HashSet <string>();
         this.procList.Add(ComProc);
     }
 }