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

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

공개 메소드들

메소드 설명
LoadState ( UploadViewModelArgs args ) : System.Threading.Tasks.Task

Loads the state.

LoadState ( UploadViewModelEditPhotoArgs uploadViewModelEditPhotoArgs ) : System.Threading.Tasks.Task

Loads the view model state.

UploadViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IUploadFinishedHandler uploadFinishedHandler, IDialogService dialogService ) : System

Initializes a new instance of the UploadViewModel class.

비공개 메소드들

메소드 설명
OnChooseCategory ( ) : void
OnUpload ( ) : void
UpdatePhoto ( ) : System.Threading.Tasks.Task
UploadNewPhoto ( ) : System.Threading.Tasks.Task

Uploads the photo.

메소드 상세

LoadState() 공개 메소드

Loads the state.
public LoadState ( UploadViewModelArgs args ) : System.Threading.Tasks.Task
args UploadViewModelArgs The view model arguments.
리턴 System.Threading.Tasks.Task

LoadState() 공개 메소드

Loads the view model state.
public LoadState ( UploadViewModelEditPhotoArgs uploadViewModelEditPhotoArgs ) : System.Threading.Tasks.Task
uploadViewModelEditPhotoArgs UploadViewModelEditPhotoArgs The arguments.
리턴 System.Threading.Tasks.Task

UploadViewModel() 공개 메소드

Initializes a new instance of the UploadViewModel class.
public UploadViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IAuthEnforcementHandler authEnforcementHandler, IUploadFinishedHandler uploadFinishedHandler, IDialogService dialogService ) : System
navigationFacade INavigationFacade The navigation facade.
photoService IPhotoService The photo service.
authEnforcementHandler IAuthEnforcementHandler Authentication enforcement handler.
uploadFinishedHandler IUploadFinishedHandler The handler that is called when the upload finished.
dialogService IDialogService The dialog service.
리턴 System