示例#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;
        }
示例#2
0
 public void LoadPlaylists()
 {
     PlayShortcutsViewModel.LoadPlaylists();
 }