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

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

공개 메소드들

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

Loads the state.

LoadState ( ProfileViewModelArgs viewModelArgs ) : System.Threading.Tasks.Task

Loads the state.

ProfileViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IDialogService dialogService ) : System

Initializes a new instance of the ProfileViewModel class.

비공개 메소드들

메소드 설명
OnDeletePhoto ( Photo photo ) : void
OnPhotoSelected ( Photo photo ) : void

Action to take when a photo has been selected

OnPhotosLoadingFinished ( ) : void
OnRefresh ( ) : System.Threading.Tasks.Task
OnSetProfilePhoto ( Photo photo ) : void
PhotosCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
RunCounterAnimations ( ) : void

메소드 상세

LoadState() 공개 메소드

Loads the state.
public LoadState ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

LoadState() 공개 메소드

Loads the state.
public LoadState ( ProfileViewModelArgs viewModelArgs ) : System.Threading.Tasks.Task
viewModelArgs ProfileViewModelArgs The arguments.
리턴 System.Threading.Tasks.Task

ProfileViewModel() 공개 메소드

Initializes a new instance of the ProfileViewModel class.
public ProfileViewModel ( INavigationFacade navigationFacade, IPhotoService photoService, IDialogService dialogService ) : System
navigationFacade INavigationFacade The navigation facade.
photoService IPhotoService The photo service.
dialogService IDialogService The dialog service.
리턴 System