Esempio n. 1
0
        public CleanCacheWorker(IDatabaseProvider database, IThreadCreator threadCreator, TimeSpan waitTime) : base(threadCreator)
        {
            this.DatabaseProvider = database;
            this.WaitTime         = waitTime;

            AddWork(0);
        }
Esempio n. 2
0
 public ThreadController(IThreadCreator threadCreator, IThreadDbReader threadDbReader)
 {
     _threadCreator = threadCreator;
     _threadDbReader = threadDbReader;
 }
Esempio n. 3
0
 public ThreadWorker(IThreadCreator threadCreator)
 {
     this.ThreadCreator = threadCreator;
 }