C# Class TRock.Music.Grooveshark.GroovesharkSongProvider

Inheritance: ISongProvider
ファイルを表示 Open project: torshy/TRock.Music

Public Methods

Method Description
GetAlbum ( string albumId, CancellationToken cancellationToken ) : Task
GetAlbums ( string artistId, CancellationToken cancellationToken ) : Task>
GetArtist ( string artistId, CancellationToken cancellationToken ) : Task
GetSongs ( string query, CancellationToken cancellationToken ) : Task>
GroovesharkSongProvider ( Lazy client ) : System

Private Methods

Method Description
ConvertToSong ( SearchArtist song ) : Song
ConvertToSongs ( IEnumerable songs ) : IEnumerable

Method Details

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>

GroovesharkSongProvider() public method

public GroovesharkSongProvider ( Lazy client ) : System
client Lazy
return System