/// <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); }
/// <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; }