/// <summary> /// Creates the player module. /// </summary> /// <param name="repositoriesModule">The repositories module.</param> /// <param name="playlistModule">The playlist module.</param> /// <param name="musicControlModule">The music control module.</param> /// <returns>A <see cref="PlayerModule"/>.</returns> protected virtual PlayerModule CreatePlayerModule(IRepositoriesModule repositoriesModule, PlaylistModule playlistModule, MusicControlModule musicControlModule) { return(new PlayerModule( repositoriesModule.PlaylistRepository, playlistModule.LastPlaylistService, musicControlModule.MusicPlayer, new PlayerServiceLogger(this.logger))); }
protected override PlayerModule CreatePlayerModule(IRepositoriesModule repositoriesModule, PlaylistModule playlistModule, MusicControlModule musicControlModule) { return(new TestPlayerModule(repositoriesModule.PlaylistRepository, playlistModule.LastPlaylistService, musicControlModule.MusicPlayer, null)); }