C# Class PhotoSharingApp.Universal.ViewModels.LeaderboardViewModel

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

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

LeaderboardViewModel() public méthode

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.
Résultat System.Threading.Tasks

LoadState() public méthode

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