C# Класс PhotoSharingApp.Universal.ViewModels.CategoriesViewModel

The ViewModel for the categories view.
Наследование: ViewModelBase
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
OnCategorySelected ( CategoryPreview categoryPreview ) : void
OnGiveGold ( Photo photo ) : void
OnHeroImageSelected ( Photo photo ) : void
OnPhotoThumbnailSelected ( PhotoThumbnail photoThumbnail ) : void
OnUserSelected ( User user ) : void

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

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

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

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

Instantiates the hero image slideshow timer.
public InstantiateHeroImageSlideShowTimer ( ) : void
Результат void

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

Loads the state.
public LoadState ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

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

Starts a timer which cycles through hero images.
public StartHeroImageSlideShow ( ) : void
Результат void

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

Stops hero image slide show.
public StopHeroImageSlideShow ( ) : void
Результат void