C# Class PhotoSharingApp.Universal.ViewModels.PhotoDetailsViewModel

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

Méthodes publiques

Méthode Description
LoadState ( PhotoDetailsViewModelArgs args ) : System.Threading.Tasks.Task

Load the state.

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

Load the state.

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

Initializes a new instance of the PhotoDetailsViewModel class.

Private Methods

Méthode Description
OnCancelDeletePhoto ( ) : void
OnCancelSetProfile ( ) : void
OnDeleteAnnotation ( ) : void
OnDeletePhoto ( ) : void
OnEditPhoto ( ) : void
OnGiveGold ( ) : void
OnGotoCamera ( ) : void
OnReportAnnotation ( ) : void
OnReportPhoto ( ReportReason reason ) : void
OnSetProfilePhoto ( ) : void
OnUserSelected ( User user ) : void
ShowDetails ( ) : System.Threading.Tasks.Task

Load details for a photo.

Method Details

LoadState() public méthode

Load the state.
public LoadState ( PhotoDetailsViewModelArgs args ) : System.Threading.Tasks.Task
args PhotoDetailsViewModelArgs The PhotoDetailsViewModelArgs.
Résultat System.Threading.Tasks.Task

LoadState() public méthode

Load the state.
public LoadState ( PhotoDetailsViewModelPhotoIdArgs args ) : System.Threading.Tasks.Task
args PhotoDetailsViewModelPhotoIdArgs The PhotoDetailsViewModelPhotoIdArgs.
Résultat System.Threading.Tasks.Task

PhotoDetailsViewModel() public méthode

Initializes a new instance of the PhotoDetailsViewModel class.
public PhotoDetailsViewModel ( 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.
Résultat System