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
    object
    PopupWindowController
    PopupWindowController<T>
    ParamViewerController<T>
    ParamSingleViewerController<T>
    TriggerBaseParams<T>
    NotificationParams
    Implements
    IPopupWindowController<T>
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    ParamSingleViewerController<T>.InitFromWindow(IPopupWindow<T>)
    ParamSingleViewerController<T>.Display()
    ParamSingleViewerController<T>.OnItemChanged(object, PropertyChangedEventArgs)
    ParamSingleViewerController<T>.Controls()
    ParamSingleViewerController<T>.Host
    ParamSingleViewerController<T>.SingleWindow
    ParamSingleViewerController<T>.UIContext
    ParamSingleViewerController<T>.ServiceContext
    ParamViewerController<T>.SetParam(T)
    ParamViewerController<T>.OriginalParam
    PopupWindowController<T>.InitCommands(IList<ViewCommand>)
    PopupWindowController<T>.OnOk(object)
    PopupWindowController<T>.OnOk(T)
    PopupWindowController<T>.Validate(T)
    PopupWindowController<T>.OnCancel()
    PopupWindowController<T>.OwningWindow
    PopupWindowController<T>.Commands
    PopupWindowController<T>.GetResult
    PopupWindowController.RootController
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Params.Tasks.Triggers
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class TriggerBaseParams<T> : ParamSingleViewerController<T>, IPopupWindowController<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.UI.API.Controllers.ParamSingleViewerController<T>.AlterControlInfo(LemonEdge.Client.UI.API.Controls.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
    IEnumerable<ControlDisplayInfoLight>

    The list of controls to be visible for this parameter type

    Overrides
    LemonEdge.Client.UI.API.Controllers.ParamSingleViewerController<T>.ControlNames()

    Implements

    IPopupWindowController<TResult>
    IParamViewerController
    IPopupWindowController
    IController

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.