Class TriggerBaseParams<T>
The base controller for editing any trigger parameter that must inherit from BaseTriggerParameter
For instance the NotificationTriggerParameter has a controller that inherits from this to provide the additional parameter controls
Inheritance
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params.Tasks.Triggers
Assembly: ClientCore.dll
Syntax
public class TriggerBaseParams<T> : ParamSingleViewerController<T>, IParamViewerController, IPopupWindowController, IController where T : BaseTriggerParameter
Type Parameters
Name | Description |
---|---|
T | The type of trigger parameter that inherits from BaseTriggerParameter |
Constructors
TriggerBaseParams(IParamSingleViewer<T>, T)
Creates a new TriggerBaseParams controller
Declaration
public TriggerBaseParams(IParamSingleViewer<T> window, T param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<T> | window | The IParamViewer popup window implementation using the UI components of the client application |
T | param | The parameter to be edited by this popup window |
Methods
AlterControlInfo(ControlDisplayInfo)
Ensures the TrigggerID and RootItemTypeID have the correct relationships setup for filtering
Declaration
protected override void AlterControlInfo(ControlDisplayInfo info)
Parameters
Type | Name | Description |
---|---|---|
ControlDisplayInfo | info | The controls to add additional information to |
Overrides
ControlNames()
Adds the following read-only controls: SaveTimeStamp, TrigggerID, RootItemTypeID, and ID
These controls are read-only as they can not be set by a user but allow them to be seen from the settings the system has automatically provided when it automatically creates a trigger task
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The list of controls to be visible for this parameter type |