C# Class PhotoSharingApp.Universal.ViewModels.GiveGoldViewModel

The ViewModel for the give gold view.
Inheritance: ViewModelBase
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
GiveGoldViewModel ( IPhotoService photoService, IDialogService dialogService ) : System.Threading.Tasks

Creates a new instance.

LoadState ( ) : System.Threading.Tasks.Task

Loads the state.

PostAnnotationToService ( ) : Task

Private Methods

Method Description
OnCancel ( ) : void

Method Details

GiveGoldViewModel() public method

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

LoadState() public method

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

PostAnnotationToService() public method

public PostAnnotationToService ( ) : Task
return Task