Пример #1
0
 public void Add(string filename)
 {
     var job = new Job { FullPath = filename };
     Jobs.Add(job);
 }
Пример #2
0
 public void Search(string dir)
 {
     foreach (string file in Directory.EnumerateFiles(dir, "*.xml"))
     {
         var job = new Job { FullPath = file };
         Jobs.Add(job);
     }
 }