C# Class Pictures.Services.PhotoService

This reads from a set of folders and caches picture dimensions and paths
Inheritance: IDisposable
ファイルを表示 Open project: droud/Pictures Class Usage Examples

Public Properties

Property Type Description
Loaded bool

Public Methods

Method Description
Dispose ( ) : void
GetRandomPicture ( ) : Picture
GetRandomWidePicture ( ) : Picture
PhotoService ( SettingService settingService ) : System
Refresh ( ) : void
Stop ( ) : void

Private Methods

Method Description
GetPicture ( bool>.Func query ) : Picture
LoadPath ( string path ) : void
LoadPaths ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetRandomPicture() public method

public GetRandomPicture ( ) : Picture
return Pictures.Models.Picture

GetRandomWidePicture() public method

public GetRandomWidePicture ( ) : Picture
return Pictures.Models.Picture

PhotoService() public method

public PhotoService ( SettingService settingService ) : System
settingService SettingService
return System

Refresh() public method

public Refresh ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

Loaded public_oe property

public bool Loaded
return bool