Class DataSourceSearchParamController
The controller for editing the DataSourceSearchParam in a popup single parameter window
Inheritance
DataSourceSearchParamController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class DataSourceSearchParamController : ParamSingleViewerController<DataSourceSearchParam>, IPopupWindowController<DataSourceSearchParam>, IParamViewerController, IPopupWindowController, IController
Constructors
DataSourceSearchParamController(IParamSingleViewer<DataSourceSearchParam>, DataSourceSearchParam)
Creates a new DataSourceSearchParam controller
Declaration
public DataSourceSearchParamController(IParamSingleViewer<DataSourceSearchParam> window, DataSourceSearchParam param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<DataSourceSearchParam> | window | The single popup param window this controller is for |
DataSourceSearchParam | param | The original parameter value to be displayed and edited by the user |
Methods
AlterControlInfo(ControlDisplayInfo)
Alters the DataSourceTypeID to use the correct relationship to IDataSourceType and for EntityTypeID to provide a list of all valid entity types
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | The control to alter with additional settings |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Core.DataSourceSearchParam>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo)
ControlNames()
Adds 4 controls: SearchID, MatchExactly, DataSourceTypeID and EntityTypeID
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all controls to be shown for editing in this popup |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.Client.Core.Views.Core.DataSourceSearchParam>.ControlNames()