C# Class PhotoSharingApp.Universal.ViewModels.CropViewModel

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

Private Properties

Property Type Description
OnNext void
OnRotateClockwise void

Public Methods

Method 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

Method Description
OnNext ( ) : void
OnRotateClockwise ( ) : void

Method Details

CropViewModel() public method

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.
return System

LoadImage() public method

Loads the image
public LoadImage ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LoadState() public method

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