Пример #1
0
 protected virtual void Dispose(bool safe)
 {
     if (safe)
     {
         if (uiMediaCollection != null)
         {
             uiMediaCollection.Dispose();
             uiMediaCollection = null;
         }
     }
 }
Пример #2
0
        public MediaState()
        {
            uiMediaCollection = new MediaLockedCollection(true);
            uiMediaCollection.ItemPropertyChanged += item_PropertyChanged;

            debugOutput = false;

            MediaStateInfo     = "Empty";
            MediaStateDateTime = DateTime.Now;
            MediaStateType     = MediaStateType.Directory;
        }