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

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

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

Метод Описание
LoadState ( StreamViewModelArgs args ) : System.Threading.Tasks.Task

Loads the state.

LoadState ( StreamViewModelThumbnailArgs args ) : System.Threading.Tasks.Task

Loads the state.

StreamViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IDialogService dialogService ) : System

Initializes a new instance of the StreamViewModel class.

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

Метод Описание
OnGiveGold ( Photo photo ) : void
OnGotoCamera ( ) : void
OnPhotoSelected ( Photo photo ) : void

Action to take when a photo has been selected

OnRefresh ( ) : void
OnUserSelected ( User user ) : void

Action to take when a user has been selected

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

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

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

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

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

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

Initializes a new instance of the StreamViewModel class.
public StreamViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IDialogService dialogService ) : System
navigationFacade INavigationFacade The navigation facade.
photoService IPhotoService The photo service.
authEnforcementHandler IAuthEnforcementHandler the authentication enforcement handler
dialogService IDialogService The dialog service.
Результат System