Пример #1
0
 public SortAlgorithm(string sourceFilePath)
 {
     this.sourceFilePath     = sourceFilePath;
     this.inputTargetFileSet = new TargetFileSet {
         new TargetFile("ta1"), new TargetFile("ta2")
     };
     this.outputTargetFileSet = new TargetFileSet {
         new TargetFile("tb1"), new TargetFile("tb2")
     };
 }
Пример #2
0
 private void SwitchTargetRoles()
 {
     this.outputTargetFileSet = Interlocked.Exchange(ref inputTargetFileSet, outputTargetFileSet);
 }