Пример #1
0
        private IArtist GetArtistAtIndex(int index)
        {
            AssertHandle();

            lock (Spotify.Mutex)
            {
                return(ArtistManager.Get(Session, Spotify.sp_toplistbrowse_artist(Handle, index)));
            }
        }
Пример #2
0
        protected IArtist GetArtistIndex(int index)
        {
            AssertHandle();

            lock (Spotify.Mutex)
            {
                return(ArtistManager.Get(Session, Spotify.sp_search_artist(Handle, index)));
            }
        }
Пример #3
0
        public override void Initialize()
        {
            _artist = new Lazy <IArtist>(
                () =>
            {
                AssertHandle();

                lock (Spotify.Mutex)
                {
                    return(ArtistManager.Get(Session, Spotify.sp_link_as_artist(Handle)));
                }
            });
        }