コード例 #1
0
ファイル: AutoCopy.cs プロジェクト: alex-grigoras/Arbyter
 public AutoCopy(TransferLocations transferLocations)
 {
     //default copy interval
     CopyInterval         = 5 * 60 * 1000;
     _arbyterCopyInstance = ArbyterCoreFactory.Instance.GetArbyterCopy();
     _transferLocations   = transferLocations;
     _timer           = new Timer();
     _timer.AutoReset = true;
     _timer.Elapsed  += new ElapsedEventHandler(TimerElapsedEvent);
 }
コード例 #2
0
ファイル: AutoCopy.cs プロジェクト: alex-grigoras/Arbyter
 public AutoCopy(TransferLocations transferLocations)
 {
     //default copy interval
     CopyInterval = 5 * 60 * 1000;
     _arbyterCopyInstance = ArbyterCoreFactory.Instance.GetArbyterCopy();
     _transferLocations = transferLocations;
     _timer = new Timer();
     _timer.AutoReset = true;
     _timer.Elapsed += new ElapsedEventHandler(TimerElapsedEvent);
 }