/// <summary>
 /// Initializes a new instance of the <see cref="TopAlbumController" /> class.
 /// </summary>
 /// <param name="serviceAgent">The service agent.</param>
 /// <param name="favoriteAlbumBusiness">The favorite album business.</param>
 public TopAlbumController(ILastFmServiceAgent serviceAgent, IFavoriteAlbumBusiness favoriteAlbumBusiness)
 {
     _lastFmServiceAgent    = serviceAgent;
     _favoriteAlbumBusiness = favoriteAlbumBusiness;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AlbumController"/> class.
 /// </summary>
 /// <param name="serviceAgent">The service agent.</param>
 public AlbumController(ILastFmServiceAgent serviceAgent)
 {
     _lastFmServiceAgent = serviceAgent;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TopTrackController"/> class.
 /// </summary>
 /// <param name="serviceAgent">The service agent.</param>
 public TopTrackController(ILastFmServiceAgent serviceAgent)
 {
     _lastFmServiceAgent = serviceAgent;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArtistController"/> class.
 /// </summary>
 /// <param name="serviceAgent">The service agent.</param>
 public ArtistController(ILastFmServiceAgent serviceAgent)
 {
     _lastFmServiceAgent = serviceAgent;
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ArtistController" /> class.
 /// </summary>
 /// <param name="serviceAgent">The service agent.</param>
 /// <param name="favoriteArtistBusiness">The favorite artist business.</param>
 public ArtistController(ILastFmServiceAgent serviceAgent, IFavoriteArtistBusiness favoriteArtistBusiness)
 {
     _lastFmServiceAgent     = serviceAgent;
     _favoriteArtistBusiness = favoriteArtistBusiness;
 }