C# Class PhotoSharingApp.Universal.ViewModels.CropViewModel

The ViewModel for the crop view.
Inheritance: ViewModelBase
Afficher le fichier Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Private Properties

Свойство Type Description
OnNext void
OnRotateClockwise void

Méthodes publiques

Méthode Description
CropViewModel ( INavigationFacade navigationFacade, ICropControl cropControl, IDialogService dialogService ) : System

The constructor

LoadImage ( ) : System.Threading.Tasks.Task

Loads the image

LoadState ( CropViewModelArgs args ) : System.Threading.Tasks.Task

Loads the state.

Private Methods

Méthode Description
OnNext ( ) : void
OnRotateClockwise ( ) : void

Method Details

CropViewModel() public méthode

The constructor
public CropViewModel ( INavigationFacade navigationFacade, ICropControl cropControl, IDialogService dialogService ) : System
navigationFacade INavigationFacade The navigation facade.
cropControl ICropControl The crop control.
dialogService IDialogService The dialog service.
Résultat System

LoadImage() public méthode

Loads the image
public LoadImage ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

LoadState() public méthode

Loads the state.
public LoadState ( CropViewModelArgs args ) : System.Threading.Tasks.Task
args CropViewModelArgs The viewmodel arguments.
Résultat System.Threading.Tasks.Task