C# Class 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.
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: kevintavog/WatchThis.net Class Usage Examples

Private Properties

Свойство Type Description
BeginEnumerate void
DestroyTimer void
GetTimerValue double
LogFailedTask void
NextRandom WatchThis.Models.MediaItem
NextSlide void
ResetTimer void
SetupTimer void
ShowImage void
SlideshowDriver NLog

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Create() static public méthode

static public Create ( SlideshowModel model, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
model WatchThis.Models.SlideshowModel
viewer ISlideshowViewer
platformService IPlatformService
Résultat SlideshowDriver

Create() static public méthode

static public Create ( string filename, ISlideshowViewer viewer, IPlatformService platformService ) : SlideshowDriver
filename string
viewer ISlideshowViewer
platformService IPlatformService
Résultat SlideshowDriver

Next() public méthode

public Next ( ) : void
Résultat void

PauseOrResume() public méthode

public PauseOrResume ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Previous() public méthode

public Previous ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void