Class NotificationParams
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Params.Tasks.Triggers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class NotificationParams : TriggerBaseParams<NotificationTriggerParameter>, IPopupWindowController<NotificationTriggerParameter>, IParamViewerController, IPopupWindowController, IController
Constructors
NotificationParams(IParamSingleViewer<NotificationTriggerParameter>, NotificationTriggerParameter, INotificationTypeFactory)
Declaration
public NotificationParams(IParamSingleViewer<NotificationTriggerParameter> window, NotificationTriggerParameter param, INotificationTypeFactory notificationTypeFactory)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<NotificationTriggerParameter> | window | |
NotificationTriggerParameter | param | |
INotificationTypeFactory | notificationTypeFactory |
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 |
---|---|
IEnumerable<ControlDisplayInfoLight> | The list of controls to be visible for this parameter type |
Overrides
Display()
Overridse the default display method to enumerate all the Controls() in this popup parameter form and display their values
Declaration
public override Task Display()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
InitCommands(IList<ViewCommand>)
Provides inheriting classes an opportunity to add to the base set of custom commands that can be executed from the popup window form
Declaration
protected override void InitCommands(IList<ViewCommand> commands)
Parameters
Type | Name | Description |
---|---|---|
IList<ViewCommand> | commands | The list of commands for this controller |