Ejemplo n.º 1
0
 /// <summary>Initializes a new instance of the <see cref="PlayerModule"/> class.</summary>
 /// <param name="playlistRepository">The playlist repository.</param>
 /// <param name="lastPlaylistService">The last playlist service.</param>
 /// <param name="playbackControls">The playback controls.</param>
 /// <param name="playerServiceReporter">The player service reporter.</param>
 public PlayerModule(
     IPlaylistRepository playlistRepository,
     ILastPlaylistService lastPlaylistService,
     IPlaybackControls playbackControls,
     IPlayerServiceReporter playerServiceReporter)
 {
     this.PlayerService = new PlayerService(
         new PlaylistSearchService(playlistRepository),
         lastPlaylistService,
         playbackControls,
         playerServiceReporter);
 }
Ejemplo n.º 2
0
 public TestPlayerModule(IPlaylistRepository playlistRepository, ILastPlaylistService lastPlaylistService, IPlaybackControls playbackControls, IPlayerServiceReporter playerServiceReporter)
     : base(playlistRepository, lastPlaylistService, playbackControls, playerServiceReporter)
 {
 }