C# Class Hqub.MusicBrainz.API.Entities.Artist

Inheritance: System.Entity
ファイルを表示 Open project: MediaPortal/MPTagThat Class Usage Examples

Private Properties

Property Type Description
Browse Hqub.MusicBrainz.API.Entities.Collections.ArtistList
Get Artist
Search Hqub.MusicBrainz.API.Entities.Collections.ArtistList

Public Methods

Method Description
BrowseAsync ( string entity, string id, int limit = 25, int offset ) : Task

Browse all the artists in the MusicBrainz database, which are directly linked to the entity with given id.

GetAsync ( string id ) : Task

Lookup an artist in the MusicBrainz database.

SearchAsync ( QueryParameters query, int limit = 25, int offset ) : Task

Search for an artist in the MusicBrainz database, matching the given query.

SearchAsync ( string query, int limit = 25, int offset ) : Task

Search for an artist in the MusicBrainz database, matching the given query.

Private Methods

Method Description
Browse ( string relatedEntity, string value, int limit = 25, int offset ) : ArtistList
Get ( string id ) : Artist
Search ( string query, int limit = 25, int offset ) : ArtistList

Method Details

BrowseAsync() public static method

Browse all the artists in the MusicBrainz database, which are directly linked to the entity with given id.
public static BrowseAsync ( string entity, string id, int limit = 25, int offset ) : Task
entity string The name of the related entity.
id string The id of the related entity.
limit int The maximum number of artists to return (default = 25).
offset int The offset to the artists list (enables paging, default = 0).
return Task

GetAsync() public static method

Lookup an artist in the MusicBrainz database.
public static GetAsync ( string id ) : Task
id string The artist MusicBrainz id.
return Task

SearchAsync() public static method

Search for an artist in the MusicBrainz database, matching the given query.
public static SearchAsync ( QueryParameters query, int limit = 25, int offset ) : Task
query QueryParameters The query parameters.
limit int The maximum number of artists to return (default = 25).
offset int The offset to the artists list (enables paging, default = 0).
return Task

SearchAsync() public static method

Search for an artist in the MusicBrainz database, matching the given query.
public static SearchAsync ( string query, int limit = 25, int offset ) : Task
query string The query string.
limit int The maximum number of artists to return (default = 25).
offset int The offset to the artists list (enables paging, default = 0).
return Task