public YouTubeChannel(String name, IPlayAlghoritm playAlghoritm)
 {
     this.name          = name;
     this.videos        = new Dictionary <String, YouTubeVideo>();
     this.subscribers   = new List <IObserver>();
     this.playAlghoritm = playAlghoritm;
     this.subscribedTo  = new Dictionary <String, YouTubeChannel>();
     this.notifications = new List <Notification>();
     this.playlists     = new Dictionary <String, Playlist>();
 }
Example #2
0
 public Playlist(String name, IPlayAlghoritm playAlghoritm)
 {
     this.name          = name;
     this.videos        = new Dictionary <String, YouTubeVideo>();
     this.playAlghoritm = playAlghoritm;
 }