Esempio n. 1
0
        public SidebarViewModel(CurrentTrackMiniViewModel currentTrackMiniViewModel, PlayerControlsViewModel playerControlsViewModel,
                                SettingsIconsViewModel settingsIconsViewModel, PlayShortcutsViewModel playShortcutsViewModel, IMessenger messenger)
        {
            _messenger = messenger;

            CurrentTrackMiniViewModel = currentTrackMiniViewModel;
            PlayerControlsViewModel   = playerControlsViewModel;
            SettingsIconsViewModel    = settingsIconsViewModel;
            PlayShortcutsViewModel    = playShortcutsViewModel;

            SettingsIconsViewModel.OpenMiniPlayer += OnOpenMiniPlayer;
        }
Esempio n. 2
0
 public void LoadPlaylists()
 {
     PlayShortcutsViewModel.LoadPlaylists();
 }