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

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

공개 메소드들

메소드 설명
LeaderboardViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IDialogService dialogService ) : System.Threading.Tasks

Initializes a new instance of the LeaderboardViewModel class.

LoadState ( ) : System.Threading.Tasks.Task

Loads the state.

비공개 메소드들

메소드 설명
OnCategorySelected ( Category category ) : void

Action to take when a photo has been selected

OnPhotoSelected ( Photo photo ) : void

Action to take when a photo has been selected

OnUserSelected ( User user ) : void

Action to take when a user has been selected.

메소드 상세

LeaderboardViewModel() 공개 메소드

Initializes a new instance of the LeaderboardViewModel class.
public LeaderboardViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IDialogService dialogService ) : System.Threading.Tasks
navigationFacade INavigationFacade The navigation facade.
photoService IPhotoService The photo service.
dialogService IDialogService The dialog service.
리턴 System.Threading.Tasks

LoadState() 공개 메소드

Loads the state.
public LoadState ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task