Exemplo 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;
        }
Exemplo n.º 2
0
 public void LoadPlaylists()
 {
     PlayShortcutsViewModel.LoadPlaylists();
 }