C# Class PhotoSharingApp.Universal.ViewModels.CategoriesChooserViewModel

The ViewModel for the category chooser view.
Inheritance: ViewModelBase
Show file Open project: Microsoft/Appsample-Photosharing

Private Properties

Property Type Description
OnAddCategory void
RefreshFilteredList void

Public Methods

Method Description
CategoriesChooserViewModel ( IPhotoService photoService, IDialogService dialogService ) : System

Creates a new instance.

LoadState ( ) : System.Threading.Tasks.Task

Loads the state.

Private Methods

Method Description
OnAddCategory ( ) : void
RefreshFilteredList ( Category category = null ) : void

Method Details

CategoriesChooserViewModel() public method

Creates a new instance.
public CategoriesChooserViewModel ( IPhotoService photoService, IDialogService dialogService ) : System
photoService IPhotoService The photo service.
dialogService IDialogService The dialog service.
return System

LoadState() public method

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