Class AnySingleCommandParamController
A parameter controller for the AnySingleCommandParam parameter which holds an entity type
Inheritance
AnySingleCommandParamController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class AnySingleCommandParamController : ParamSingleViewerController<AnySingleCommandParam>, IPopupWindowController<AnySingleCommandParam>, IParamViewerController, IPopupWindowController, IController
Constructors
AnySingleCommandParamController(IParamSingleViewer<AnySingleCommandParam>, AnySingleCommandParam)
Creates a new AnySingleCommandParamController
Declaration
public AnySingleCommandParamController(IParamSingleViewer<AnySingleCommandParam> window, AnySingleCommandParam param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<AnySingleCommandParam> | window | The popup single parameter window to display these parameters |
AnySingleCommandParam | param | The initial parameter values to display |
Methods
AlterControlInfo(ControlDisplayInfo)
Providse the correct relationship selections for the ControlNames()
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | The control to alter its selection for |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.API.Client.Commands.AnySingleCommandParam>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.ControlDisplayInfo)
ControlNames()
The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout |
Overrides
LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<LemonEdge.API.Client.Commands.AnySingleCommandParam>.ControlNames()
Display()
Controller implements to cache all the layouts in the system
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.API.Client.Commands.AnySingleCommandParam>.Display()
OnItemChanged(object, PropertyChangedEventArgs)
Update the labels, and filter for the controls when properties of the parameter have changed
Declaration
protected override void OnItemChanged(object sender, PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
object | sender | The sender |
PropertyChangedEventArgs | e | The property that has changed |