Пример #1
0
 public Job(DataPersister persister)
 {
     this.persister = persister;
     Timer          = new Lazy <Timer>(() => new Timer(SendMessage, null, TimeSpan.Zero, TimeSpan.FromMinutes(1)));
 }
Пример #2
0
 public Job(DataPersister persister)
 {
     this.persister = persister;
     Timer = new Lazy<Timer>(() => new Timer(SendMessage, null, TimeSpan.Zero, TimeSpan.FromMinutes(1)));
 }