Beispiel #1
0
 public MediaList(MediaItem[] items)
 {
     if (_subItems == null)
     {
         _subItems = new MediaItemCollection(this);
     }
     this._subItems.AddRange(items);
 }
Beispiel #2
0
 public MediaList(string title)
 {
     this._title = title;
     if (_subItems == null)
     {
         _subItems = new MediaItemCollection(this);
     }
 }
Beispiel #3
0
 public MediaList(string title, MediaItem[] items)
 {
     this._title = title;
     if (_subItems == null)
     {
         _subItems = new MediaItemCollection(this);
     }
     this._subItems.AddRange(items);
 }
Beispiel #4
0
 public MediaList(string title, bool bOpen)
 {
     this._title  = title;
     this._isOpen = bOpen;
     if (_subItems == null)
     {
         _subItems = new MediaItemCollection(this);
     }
 }
Beispiel #5
0
 public MediaList()
 {
     if (this._title == null)
     {
         this._title = string.Empty;
     }
     if (_subItems == null)
     {
         _subItems = new MediaItemCollection(this);
     }
 }