Class NewSingleCommandParamController
A parameter controller for the NewSingleCommandParam parameter which holds an entity type
Inheritance
NewSingleCommandParamController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class NewSingleCommandParamController : ParamSingleViewerController<NewSingleCommandParam>, IPopupWindowController<NewSingleCommandParam>, IParamViewerController, IPopupWindowController, IController
Constructors
NewSingleCommandParamController(IParamSingleViewer<NewSingleCommandParam>, NewSingleCommandParam)
Creates a new AnySingleCommandParamController
Declaration
public NewSingleCommandParamController(IParamSingleViewer<NewSingleCommandParam> window, NewSingleCommandParam param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<NewSingleCommandParam> | window | The popup single parameter window to display these parameters |
NewSingleCommandParam | 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.NewSingleCommandParam>.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.NewSingleCommandParam>.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.NewSingleCommandParam>.Display()