Search Results for

    Show / Hide Table of Contents

    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
    System.Object
    PopupWindowController
    PopupWindowController<T>
    ParamViewerController<T>
    ParamSingleViewerController<T>
    TriggerBaseParams<T>
    Implements
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    ParamSingleViewerController<T>.Host
    ParamSingleViewerController<T>.SingleWindow
    ParamSingleViewerController<T>.Display()
    ParamSingleViewerController<T>.OnItemChanged(Object, PropertyChangedEventArgs)
    ParamSingleViewerController<T>.Controls()
    ParamViewerController<T>.OriginalParam
    ParamViewerController<T>.IParamViewerController.OriginalParam
    ParamViewerController<T>.SetParam(T)
    PopupWindowController<T>.InitCommands(IList<ViewCommand>)
    PopupWindowController<T>.OwningWindow
    PopupWindowController<T>.Commands
    PopupWindowController<T>.OnOk(Object)
    PopupWindowController<T>.OnOk(T)
    PopupWindowController<T>.Validate(T)
    PopupWindowController<T>.OnCancel()
    PopupWindowController<T>.GetResult
    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.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
    LemonEdge.Client.Core.Support.ParamSingleViewerController<T>.AlterControlInfo(LemonEdge.Client.Core.Views.Core.ControlDisplayInfo)

    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

    Overrides
    LemonEdge.Client.Core.Support.ParamSingleViewerController<T>.ControlNames()

    Implements

    IParamViewerController
    IPopupWindowController
    IController

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.