Class AlgorithmRunParamController
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params.Tasks
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class AlgorithmRunParamController : ParamSingleViewerController<AlgorithmRunParameter>, IPopupWindowController<AlgorithmRunParameter>, IParamViewerController, IPopupWindowController, IControllerConstructors
AlgorithmRunParamController(IParamSingleViewer<AlgorithmRunParameter>, AlgorithmRunParameter)
Creates a new algorithm run parameter controller
Declaration
public AlgorithmRunParamController(IParamSingleViewer<AlgorithmRunParameter> window, AlgorithmRunParameter param)Parameters
| Type | Name | Description | 
|---|---|---|
| IParamSingleViewer<AlgorithmRunParameter> | window | The parameter popup window for displaying these parameters | 
| AlgorithmRunParameter | param | The initial parameters to display | 
Methods
Controls()
Can be overridden in a derived class to indicate all the controls to be created in this single parameter popup form
Declaration
protected override IEnumerable<ControlDisplayInfo> Controls()Returns
| Type | Description | 
|---|---|
| IEnumerable<ControlDisplayInfo> | All the controls to be created in this single parameter popup form | 
Overrides
Display()
Overridse the default display method to enumerate all the Controls() in this popup parameter form and display their values
Declaration
public override Task Display()Returns
| Type | Description | 
|---|---|
| Task | A task indicating the completion of the operation | 
Overrides
OnItemChanged(object, PropertyChangedEventArgs)
Fires if the type AlgorithmRunParameter implements INotifyPropertyChanged, for every change in the property
Declaration
protected override void OnItemChanged(object sender, PropertyChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| object | sender | The sender of the event | 
| PropertyChangedEventArgs | e | THe event argumnets holding the property changed | 
Overrides
OnOk(object)
Called by the popup window instance when the user has dismissed the popup form by clicking ok
Declaration
public override void OnOk(object result)Parameters
| Type | Name | Description | 
|---|---|---|
| object | result | The result to return back to the caller |