Exemplo n.º 1
0
        public static void Main()
        {
            Artist prince = new Artist("Prince");

            prince.AddToPlaylist("Purple Rain");
            prince.AddToPlaylist("Little Red Corvette");
            prince.AddToPlaylist("Kiss");
            prince.AddToPlaylist("When Doves Cry");


            MediaPlayer player = new MediaPlayer();

            player.PlayMedia(prince);

            AudioBook howto = new AudioBook("How to Win Friends & Influence People", "Dale Carnegie");

            player.PlayMedia(howto);

            MovieSoundTrack starWars = new MovieSoundTrack("Star Wars");

            starWars.SelectTrack("Opening Credits Theme");
            player.PlayMedia(starWars);
        }
Exemplo n.º 2
0
 internal void PlayMedia(AudioBook howto)
 {
     throw new NotImplementedException();
 }