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

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

공개 메소드들

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

비공개 메소드들

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

메소드 상세

LoadState() 공개 메소드

Load the state.
public LoadState ( PhotoDetailsViewModelArgs args ) : System.Threading.Tasks.Task
args PhotoDetailsViewModelArgs The PhotoDetailsViewModelArgs.
리턴 System.Threading.Tasks.Task

LoadState() 공개 메소드

Load the state.
public LoadState ( PhotoDetailsViewModelPhotoIdArgs args ) : System.Threading.Tasks.Task
args PhotoDetailsViewModelPhotoIdArgs The PhotoDetailsViewModelPhotoIdArgs.
리턴 System.Threading.Tasks.Task

PhotoDetailsViewModel() 공개 메소드

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.
리턴 System