Esempio n. 1
0
            public Search(SpotifyWebAPI _handler, object _parent) : base(_handler, _parent)
            {
                subcommands = new CommandMap();

                //Handler variable here is from abstract class integration
                //subcommands.Add("song", );
                subcommands.Add("album", new SearchAlbum(handler, _parent));
                subcommands.Add("song", new SearchSong(handler, _parent));
                subcommands.Add("cancel", new SearchSong(handler, _parent));
                //subcommands.Add("artist", );
            }
Esempio n. 2
0
 public Command(object _parent)
 {
     subcommands = new CommandMap();
     parent      = _parent;
 }
Esempio n. 3
0
 public Command()
 {
     subcommands = new CommandMap();
 }