Beispiel #1
0
        public App()
        {
            Scheduler = new StdSchedulerFactory().GetScheduler();

            _dao = new Dao();
            _dao.Scheduler = Scheduler;
            LoadObjects();

            FileActions.OnNotificationAdded += NotificationAdded;

            _plugins = new Plugins();
            _rrdDb = new Helper.Rrd().GetDb();

            CheckForDuplicates();
            ResetObjects();
            ClearOldDownloads();
            TryToRecoverOpenFiles();
        }
Beispiel #2
0
		public App()
		{
			Scheduler = new StdSchedulerFactory().GetScheduler();

			_dao = new Dao();
			_dao.Scheduler = Scheduler;
			LoadObjects();

			FileActions.OnNotificationAdded += NotificationAdded;

			_plugins = new Plugins();
			_rrdDb = new Rrd().GetDb();

			Objects.CheckAndRemoveDuplicates(Servers);
			ClearOldDownloads();
			TryToRecoverOpenFiles();
		}