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

ViewModel for view that lets the user enter details for a new category and kicks off the creation process.
상속: ViewModelBase
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing

공개 메소드들

메소드 설명
CreateCategory ( ) : Task

Starts creating a new category and handles error messaging.

CreateCategoryViewModel ( IPhotoService photoService, IDialogService dialogService ) : System

Creates a new instance.

LoadState ( ) : System.Threading.Tasks.Task

Loads the state.

비공개 메소드들

메소드 설명
Category_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

메소드 상세

CreateCategory() 공개 메소드

Starts creating a new category and handles error messaging.
public CreateCategory ( ) : Task
리턴 Task

CreateCategoryViewModel() 공개 메소드

Creates a new instance.
public CreateCategoryViewModel ( IPhotoService photoService, IDialogService dialogService ) : System
photoService IPhotoService The photo service.
dialogService IDialogService The dialog service.
리턴 System

LoadState() 공개 메소드

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