private IArtist GetArtistAtIndex(int index) { AssertHandle(); lock (Spotify.Mutex) { return(ArtistManager.Get(Session, Spotify.sp_toplistbrowse_artist(Handle, index))); } }
protected IArtist GetArtistIndex(int index) { AssertHandle(); lock (Spotify.Mutex) { return(ArtistManager.Get(Session, Spotify.sp_search_artist(Handle, index))); } }
public override void Initialize() { _artist = new Lazy <IArtist>( () => { AssertHandle(); lock (Spotify.Mutex) { return(ArtistManager.Get(Session, Spotify.sp_link_as_artist(Handle))); } }); }