예제 #1
0
 void PrintArtist(SpotifySession aSession, Artist aArtist)
 {
     Console.WriteLine("  Artist \"{0}\"", aArtist.Name());
 }
예제 #2
0
 void PrintArtist(int aIndex, Artist aArtist)
 {
     Console.WriteLine("  Artist {0,3}: \"{1}\"", aIndex, aArtist.Name());
     Link portraitLink = Link.CreateFromArtistPortrait(aArtist, ImageSize.Normal);
     if (portraitLink != null)
     {
         Console.WriteLine("    Portrait: {0}", portraitLink.AsString());
         portraitLink.Release();
     }
 }