C# Класс OpenSyno.ViewModels.PlayQueueViewModel

Наследование: ViewModelBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

PlayQueueViewModel() публичный Метод

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
Результат System

WakeUpFromTombstone() публичный Метод

public WakeUpFromTombstone ( ) : void
Результат void