C# Класс WatchThis.Controllers.SlideshowDriver

Responsible for loading and playing slideshows, though delegating to a viewer for the actual image display. All calls to the viewer are on the main/UI thread in order to minimize threading issues in the various UI implementations.
Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BeginEnumerate void
DestroyTimer void
GetTimerValue double
LogFailedTask void
NextRandom WatchThis.Models.MediaItem
NextSlide void
ResetTimer void
SetupTimer void
ShowImage void
SlideshowDriver NLog

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

Метод Описание
Create ( SlideshowModel model, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
Create ( string filename, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
Next ( ) : void
PauseOrResume ( ) : void
Play ( ) : void
Previous ( ) : void
Stop ( ) : void

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

Метод Описание
BeginEnumerate ( ) : void
DestroyTimer ( ) : void
GetTimerValue ( ) : double
LogFailedTask ( System.Threading.Tasks.Task t, string baseMessage ) : void
NextRandom ( ) : MediaItem
NextSlide ( ) : void
ResetTimer ( ) : void
SetupTimer ( ) : void
ShowImage ( MediaItem item ) : void
SlideshowDriver ( SlideshowModel model, ISlideshowViewer viewer, IPlatformService platformService ) : NLog

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

Create() статический публичный Метод

static public Create ( SlideshowModel model, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
model WatchThis.Models.SlideshowModel
viewer ISlideshowViewer
platformService IPlatformService
Результат SlideshowDriver

Create() статический публичный Метод

static public Create ( string filename, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
filename string
viewer ISlideshowViewer
platformService IPlatformService
Результат SlideshowDriver

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

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

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

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

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

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

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

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

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

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