Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LastFmApi"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public LastFmApi(ILastFmConfig config)
        {
            Config = config;

            Track = new TrackApi(this);
            Tag = new TagApi(this);
            Album = new AlbumApi(this);
            Artist = new ArtistApi(this);
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LastFmApi"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public LastFmApi(ILastFmConfig config)
        {
            Config = config;

            Track  = new TrackApi(this);
            Tag    = new TagApi(this);
            Album  = new AlbumApi(this);
            Artist = new ArtistApi(this);
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestWrapper"/> class.
 /// </summary>
 /// <param name="config">The config.</param>
 public RestWrapper(ILastFmConfig config)
 {
     this.config = config;
 }