C# Class OpenSyno.ViewModels.PlayQueueViewModel

Inheritance: ViewModelBase
Afficher le fichier Open project: salfab/open-syno

Méthodes publiques

Méthode Description
PlayQueueViewModel ( IEventAggregator eventAggregator, IPlaybackService playbackService, INotificationService notificationService, IOpenSynoSettings openSynoSettings, ILogService logService, ITrackViewModelFactory trackViewModelFactory, IPageSwitchingService pageSwitchingService ) : System

Initializes a new instance of the PlayQueueViewModel class.

WakeUpFromTombstone ( ) : void

Private Methods

Méthode Description
AppendItems ( IEnumerable items, Guid>.Action callback ) : void
ClearItems ( ) : void
OnPausePlayback ( ) : void
OnPlay ( System.Guid guidOfTrackToPlay ) : void
OnPlay ( TrackViewModel trackViewModel ) : void
OnPlayListOperation ( PlayListOperationAggregatedEvent e ) : void

Called when a play list operation is requested.

OnPlayNext ( ) : void

Called when the Play next command is triggered.

OnPlayPrevious ( ) : void
OnPlayqueueChanged ( object sender, PlayqueueChangedEventArgs e ) : void
OnRemoveTracksFromQueue ( IEnumerable tracks ) : void
OnResumePlayback ( ) : void
OnSavePlaylist ( IEnumerable tracks ) : void
OnSelectAllAlbumTracks ( System.Guid consecutiveAlbumId ) : void

Method Details

PlayQueueViewModel() public méthode

Initializes a new instance of the PlayQueueViewModel class.
public PlayQueueViewModel ( IEventAggregator eventAggregator, IPlaybackService playbackService, INotificationService notificationService, IOpenSynoSettings openSynoSettings, ILogService logService, ITrackViewModelFactory trackViewModelFactory, IPageSwitchingService pageSwitchingService ) : System
eventAggregator IEventAggregator The event aggregator.
playbackService IPlaybackService The playback service.
notificationService INotificationService
openSynoSettings IOpenSynoSettings
logService ILogService
trackViewModelFactory ITrackViewModelFactory
pageSwitchingService IPageSwitchingService
Résultat System

WakeUpFromTombstone() public méthode

public WakeUpFromTombstone ( ) : void
Résultat void