Esempio n. 1
0
 /// <summary>
 /// Clear the data held by this model
 /// </summary>
 public static void ClearModel()
 {
     Playlists.Clear();
     SongPlaylists.Clear();
     AlbumPlaylists.Clear();
     PlaylistNames.Clear();
     LibraryId = -1;
     BaseModel.Clear();
 }
Esempio n. 2
0
 /// <summary>
 /// Clear the data held by this model
 /// </summary>
 public static void ClearModel()
 {
     Albums                       = null;
     UnfilteredAlbums             = null;
     FilteredAlbums               = null;
     GenreSortedAlbums            = null;
     LibraryId                    = -1;
     FilterSelector.CurrentFilter = null;
     FastScrollSections           = null;
     FastScrollSectionLookup      = null;
     BaseModel.Clear();
 }
Esempio n. 3
0
 /// <summary>
 /// Clear the data held by this model
 /// </summary>
 public static void ClearModel()
 {
     Artists.Clear();
     UnfilteredArtists.Clear();
     ArtistsAndAlbums.Clear();
     LibraryId = -1;
     FilterSelector.CurrentFilter = null;
     FilteredAlbumsIds.Clear();
     BaseModel.SortSelector.SetActiveSortOrder(SortSelector.SortType.alphabetic);               // This also sets the sort order to alphabetic ascending
     FastScrollSections      = null;
     FastScrollSectionLookup = null;
     BaseModel.Clear();
 }