Example #1
0
 public ParserAlbum(Parser next, ParserArtist parserArtist, ParserTrack parserTrack, ParserGenre parserGenre, Client client) : base(next)
 {
     _parserArtist = parserArtist;
     _parserTrack  = parserTrack;
     _parserGenre  = parserGenre;
     _client       = client;
 }
Example #2
0
 public Client()
 {
     parseGenre  = new ParserGenre(null);
     parseTrack  = new ParserTrack(parseGenre);
     parseArtist = new ParserArtist(parseTrack);
     parseAlbum  = new ParserAlbum(parseArtist, parseArtist, parseTrack, parseGenre, this);
 }