Class AnySingleCommandParamController
A parameter controller for the AnySingleCommandParam parameter which holds an entity type
Inheritance
System.Object
AnySingleCommandParamController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.Client.Core.Commands.Core
Assembly: ClientCore.dll
Syntax
public class AnySingleCommandParamController : ParamSingleViewerController<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.Core.Support.ParamSingleViewerController<LemonEdge.Client.Commands.AnySingleCommandParam>.AlterControlInfo(LemonEdge.Client.Core.Views.Core.ControlDisplayInfo)
ControlNames()
The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The controls for this parameter are for the EntityTypeID, EntityID and CustomLayout |
Overrides
LemonEdge.Client.Core.Support.ParamSingleViewerController<LemonEdge.Client.Commands.AnySingleCommandParam>.ControlNames()
Display()
Controller implements to cache all the layouts in the system
Declaration
public override Task Display()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
Overrides
LemonEdge.Client.Core.Support.ParamSingleViewerController<LemonEdge.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 |
---|---|---|
System.Object | sender | The sender |
System.ComponentModel.PropertyChangedEventArgs | e | The property that has changed |
Overrides
LemonEdge.Client.Core.Support.ParamSingleViewerController<LemonEdge.Client.Commands.AnySingleCommandParam>.OnItemChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)