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

            debugOutput = false;

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