Esempio n. 1
0
        public Manager()
        {
            FromConfig.LoadConfigData();
            _storage = Storage.GetInstanse;
            TimerCallback trash = new TimerCallback(RunTrash);

            queueChecker = new Timer(trash, null, new TimeSpan(0), FromConfig.CheckingUnusedBox);
        }
Esempio n. 2
0
 // private constructor
 private Storage()
 {
     FromConfig.LoadConfigData();
     _storage      = new MainTree();
     _queueToTrash = new Queue();
 }