Пример #1
0
        private void LoadCommands()
        {
            AddCustomArtistCommand       = new CustomCommand(AddCustomArtist, CanAddCustomArtist);
            UpdateArtistCommand          = new CustomCommand(UpdateArtist, CanUpdateArtist);
            UpdateAllArtistsCommand      = new CustomCommand(UpdateAllArtists, CanUpdateAllArtists);
            RetrieveMissingAlbumsCommand = new CustomCommand(RetrieveMissingAlbums, CanRetrieveMissingAlbums);
            DeleteArtistCommand          = new CustomCommand(DeleteArtist, CanDeleteArtist);

            AddCustomAlbumCommand     = new CustomCommand(AddCustomAlbum, CanAddCustomAlbum);
            TrackAlbumCommand         = new CustomCommand(TrackAlbum, CanTrackAlbum);
            UntrackAlbumCommand       = new CustomCommand(UntrackAlbum, CanUntrackAlbum);
            MarkAlbumListenedCommand  = new CustomCommand(MarkAlbumListened, CanMarkAlbumListened);
            RemoveAlbumHistoryCommand = new CustomCommand(RemoveAlbumHistory, CanRemoveAlbumHistory);
            DeleteAlbumCommand        = new CustomCommand(DeleteAlbum, CanDeleteAlbum);

            MarkTrackListenedCommand       = new CustomCommand(MarkTrackListened, CanMarkTrackListened);
            RemoveTrackHistoryCommand      = new CustomCommand(RemoveTrackHistory, CanRemoveTrackHistory);
            AddCustomTrackCommand          = new CustomCommand(AddCustomTrack, CanAddCustomTrack);
            AddMultipleCustomTracksCommand = new CustomCommand(AddMultipleCustomTracks, CanAddMultipleCustomTracks);
            RemoveCustomTrackCommand       = new CustomCommand(RemoveCustomTrack, CanRemoveCustomTrack);

            AddAlbumToPlaylistCommand = new CustomCommand(AddAlbumToPlaylist, CanAddAlbumToPlaylist);
        }
Пример #2
0
 private void LoadCommands()
 {
     SearchSpotifyArtistsCommand        = new CustomCommand(SearchSpotifyArtists, CanSearchSpotifyArtists);
     AddSpotifyArtistsToDatabaseCommand = new CustomCommand(AddSpotifyArtistsToDatabase, CanAddSpotifyArtistsToDatabase);
 }
Пример #3
0
 private void LoadCommands()
 {
     MakeVisibleCommand = new CustomCommand(MakeVisible, CanMakeVisible);
 }