C# Class Microsoft.HockeyApp.ViewModels.FeedbackMessageFormVM

Inheritance: VMBase
Datei anzeigen Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
AddAttachment ( FeedbackImageVM attachment ) : void
FeedbackMessageFormVM ( FeedbackPageVM parentVM, FeedbackMessageFormControl view ) : System
RemoveAttachment ( FeedbackImageVM attachment ) : void
SubmitForm ( ) : Task

Protected Methods

Method Description
ValidateInput ( ) : bool

Private Methods

Method Description
ClearForm ( ) : void
ClearFormAfterSubmit ( ) : void
SetFormFieldDefaults ( ) : void
ShowPhotoResult ( PhotoResult result ) : System.Threading.Tasks.Task

Method Details

AddAttachment() public method

public AddAttachment ( FeedbackImageVM attachment ) : void
attachment FeedbackImageVM
return void

FeedbackMessageFormVM() public method

public FeedbackMessageFormVM ( FeedbackPageVM parentVM, FeedbackMessageFormControl view ) : System
parentVM FeedbackPageVM
view Microsoft.HockeyApp.Views.FeedbackMessageFormControl
return System

RemoveAttachment() public method

public RemoveAttachment ( FeedbackImageVM attachment ) : void
attachment FeedbackImageVM
return void

SubmitForm() public method

public SubmitForm ( ) : Task
return Task

ValidateInput() protected method

protected ValidateInput ( ) : bool
return bool