C# Class PhotoSharingApp.Universal.ViewModels.CategoriesViewModel

The ViewModel for the categories view.
Inheritance: ViewModelBase
Afficher le fichier Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Méthodes publiques

Méthode Description
CategoriesViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IDialogService dialogService ) : System

Initializes a new instance of the CategoriesViewModel class.

InstantiateHeroImageSlideShowTimer ( ) : void

Instantiates the hero image slideshow timer.

LoadState ( ) : System.Threading.Tasks.Task

Loads the state.

StartHeroImageSlideShow ( ) : void

Starts a timer which cycles through hero images.

StopHeroImageSlideShow ( ) : void

Stops hero image slide show.

Private Methods

Méthode Description
OnCategorySelected ( CategoryPreview categoryPreview ) : void
OnGiveGold ( Photo photo ) : void
OnHeroImageSelected ( Photo photo ) : void
OnPhotoThumbnailSelected ( PhotoThumbnail photoThumbnail ) : void
OnUserSelected ( User user ) : void

Method Details

CategoriesViewModel() public méthode

Initializes a new instance of the CategoriesViewModel class.
public CategoriesViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IDialogService dialogService ) : System
navigationFacade INavigationFacade The navigation facade.
photoService IPhotoService The photo service.
authEnforcementHandler IAuthEnforcementHandler The auth enforcement handler.
dialogService IDialogService The dialog service
Résultat System

InstantiateHeroImageSlideShowTimer() public méthode

Instantiates the hero image slideshow timer.
public InstantiateHeroImageSlideShowTimer ( ) : void
Résultat void

LoadState() public méthode

Loads the state.
public LoadState ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

StartHeroImageSlideShow() public méthode

Starts a timer which cycles through hero images.
public StartHeroImageSlideShow ( ) : void
Résultat void

StopHeroImageSlideShow() public méthode

Stops hero image slide show.
public StopHeroImageSlideShow ( ) : void
Résultat void