C# 클래스 PhotoSharingApp.Universal.ViewModels.CategoriesViewModel

The ViewModel for the categories view.
상속: ViewModelBase
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing 1 사용 예제들

공개 메소드들

메소드 설명
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