public Manager() { FromConfig.LoadConfigData(); _storage = Storage.GetInstanse; TimerCallback trash = new TimerCallback(RunTrash); queueChecker = new Timer(trash, null, new TimeSpan(0), FromConfig.CheckingUnusedBox); }
// private constructor private Storage() { FromConfig.LoadConfigData(); _storage = new MainTree(); _queueToTrash = new Queue(); }