Esempio n. 1
0
        static void RegisterCells()
        {
            CellRegistrar.Register <Song, SongCell>();
            CellRegistrar.Register <TempSong, SongCell>();
            CellRegistrar.Register <Artist, ArtistCell>();
            CellRegistrar.Register <Album, AlbumCell>();
            CellRegistrar.Register <TempAlbum, AlbumCell>();
            CellRegistrar.Register <TempArtist, ArtistCell>();
            CellRegistrar.Register <Genre, GenreCell>();
            CellRegistrar.Register <TempGenre, GenreCell>();
            CellRegistrar.Register <Playlist, PlaylistCell>();
            CellRegistrar.Register <PlaylistSong, PlaylistSongCell>();
            CellRegistrar.Register <RadioStation, RadioStationCell>();


            CellRegistrar.Register <OnlineSong, SongCell>();
            CellRegistrar.Register <OnlineAlbum, AlbumCell>();
            CellRegistrar.Register <OnlineArtist, ArtistCell>();
            CellRegistrar.Register <OnlinePlaylist, PlaylistCell>();
            CellRegistrar.Register <OnlinePlaylistEntry, PlaylistSongCell>();
            CellRegistrar.Register <OnlineRadioStation, RadioStationCell> ();
        }
Esempio n. 2
0
 static void RegisterCells()
 {
     CellRegistrar.Register <Song, SongCell> ();
     CellRegistrar.Register <Artist, ArtistCell> ();
 }