Пример #1
0
 protected virtual void Dispose(Boolean disposing)
 {
     if (_disposed)
         return;
     if (disposing)
     {
     }
     if (_mData != null)
         _mData = null;
     if (_oData != null)
     {
         _oData.Save();
         _oData = null;
     }
     if (_rssManager != null)
     {
         _rssManager = null;
     }
 }
Пример #2
0
        public AlertScanner()
        {
            _mData = new MainData();
            _mData.PropertyChanged += OnDataUpdated;

            _oData = new OptionsData();
            _oData.PropertyChanged += OnDataUpdated;

            _rssManager = new RSSManager();

            UpdateAlerts();
        }