Пример #1
0
 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
 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);
 }