예제 #1
0
 //to be performed
 private void EditMetadataExecute(object obj)
 {
     if (obj is Data.Spotify.Models.SimpleTrack)
     {
         SheetUtility.OpenEditTrackMetadataPage(obj as Data.Spotify.Models.SimpleTrack);
     }
     else if (obj is Data.Model.WebSongs.WebSong)
     {
         SheetUtility.OpenEditTrackMetadataPage(obj as Data.Model.WebSongs.WebSong);
     }
     else if (obj is IF.Lastfm.Core.Objects.LastTrack)
     {
         SheetUtility.OpenEditTrackMetadataPage(obj as IF.Lastfm.Core.Objects.LastTrack);
     }
 }
예제 #2
0
 private void LastEditMetadataExecute(IF.Lastfm.Core.Objects.LastTrack obj)
 {
     SheetUtility.OpenEditTrackMetadataPage(obj as IF.Lastfm.Core.Objects.LastTrack);
 }