Class QueryRunnerParamController
A controller for displaying the ExecuteQueryRunnerParameter parameters to the user for choosing the data they would like to export
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params.Tasks
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class QueryRunnerParamController : ParamSingleViewerController<ExecuteQueryRunnerParameter>, IPopupWindowController<ExecuteQueryRunnerParameter>, IParamViewerController, IPopupWindowController, IController
Constructors
QueryRunnerParamController(IParamSingleViewer<ExecuteQueryRunnerParameter>, ExecuteQueryRunnerParameter)
Creates a new export data parameter controller
Declaration
public QueryRunnerParamController(IParamSingleViewer<ExecuteQueryRunnerParameter> window, ExecuteQueryRunnerParameter param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<ExecuteQueryRunnerParameter> | window | The parameter popup window for displaying these parameters |
ExecuteQueryRunnerParameter | 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 ExecuteQueryRunnerParameter 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 |