C# Class PhotoSharingApp.Universal.ViewModels.ShareTargetUploadFinishedHandler

The handler that is being actived when a photo upload has been finished successfully when the app is in the share target mode.
Inheritance: IUploadFinishedHandler
Mostrar archivo Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Public Methods

Method Description
OnUploadFinished ( Category category ) : System.Threading.Tasks.Task

Called when a photo has been uploaded successfully.

ShareTargetUploadFinishedHandler ( System.Action uploadFinishedAction ) : System

The constructor.

Method Details

OnUploadFinished() public method

Called when a photo has been uploaded successfully.
public OnUploadFinished ( Category category ) : System.Threading.Tasks.Task
category PhotoSharingApp.Universal.Models.Category The associated category.
return System.Threading.Tasks.Task

ShareTargetUploadFinishedHandler() public method

The constructor.
public ShareTargetUploadFinishedHandler ( System.Action uploadFinishedAction ) : System
uploadFinishedAction System.Action The action to execute on successful upload.
return System