C# Class TRock.Music.CachedSongProvider

Inheritance: ISongProvider
Show file Open project: torshy/TRock.Music

Public Methods

Method Description
CachedSongProvider ( ISongProvider provider ) : System
GetAlbum ( string albumId, CancellationToken cancellationToken ) : Task
GetAlbums ( string artistId, CancellationToken cancellationToken ) : Task>
GetArtist ( string artistId, CancellationToken cancellationToken ) : Task
GetSongs ( string query, CancellationToken cancellationToken ) : Task>

Method Details

CachedSongProvider() public method

public CachedSongProvider ( ISongProvider provider ) : System
provider ISongProvider
return System

GetAlbum() public method

public GetAlbum ( string albumId, CancellationToken cancellationToken ) : Task
albumId string
cancellationToken System.Threading.CancellationToken
return Task

GetAlbums() public method

public GetAlbums ( string artistId, CancellationToken cancellationToken ) : Task>
artistId string
cancellationToken System.Threading.CancellationToken
return Task>

GetArtist() public method

public GetArtist ( string artistId, CancellationToken cancellationToken ) : Task
artistId string
cancellationToken System.Threading.CancellationToken
return Task

GetSongs() public method

public GetSongs ( string query, CancellationToken cancellationToken ) : Task>
query string
cancellationToken System.Threading.CancellationToken
return Task>