Class QueryableShorcutParamController
Inheritance
QueryableShorcutParamController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class QueryableShorcutParamController : ParamSingleViewerController<DatasetShortcutItemParam>, IPopupWindowController<DatasetShortcutItemParam>, IParamViewerController, IPopupWindowController, IController
Constructors
QueryableShorcutParamController(IParamSingleViewer<DatasetShortcutItemParam>, DatasetShortcutItemParam, IQueryableTypeFactory)
Declaration
public QueryableShorcutParamController(IParamSingleViewer<DatasetShortcutItemParam> window, DatasetShortcutItemParam param, IQueryableTypeFactory queryableTypeFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IParamSingleViewer<DatasetShortcutItemParam> | window | |
| DatasetShortcutItemParam | param | |
| IQueryableTypeFactory | queryableTypeFactory |
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
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Controllers.DatasetShortcutItemParam>.Controls()
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
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Controllers.DatasetShortcutItemParam>.Display()
OnItemChanged(object, PropertyChangedEventArgs)
Fires if the type DatasetShortcutItemParam 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 |