Search Results for

    Show / Hide Table of Contents

    Class ParamSingleViewerController<T>

    The base single parameter viewer controller for all instances of a IParamSingleViewer<T>

    Inheritance
    object
    PopupWindowController
    PopupWindowController<T>
    ParamViewerController<T>
    ParamSingleViewerController<T>
    ApiQueryParamController
    CanvasLabelParamController
    AnyCollectionCommandParamController
    AnySingleCommandParamController
    CustomCommandParamController
    GroupedItemsCommandParamController
    NewSingleCommandParamController
    OpenCommandParamController
    SearchOpenItemCommandParamController
    DashboardCommandParamController
    ResetLayout.LayoutResetSelectorParamController
    EntityTypeSerializedParamController
    ExportDataParamsController
    ExportData
    ReportParamController<T>
    AllocationPathDynamicController.PathDateParamController
    CanvasItemsController.ClearCanvasItemParamController
    DatasetQueryableFieldInfoParamController
    DatasetQueryableItemParamController
    DatasetWhereFilterParamController
    EntitySetPathParamController
    FolderReportsController.ReportTypeParamController
    FolderTreeViewLabelParamController
    GLPostingValueBindingParamController
    QueryableShorcutParamController
    ReplaceCalcTextParamController
    ReportsController.ReportTypeParamController
    StepChangeTransactionTransactionsController.TransactionPickerParamController
    StepTransactionLinesController.RuleParamController
    VennSetQueryableFieldInfoParamController
    VennSetQueryableItemParamController
    VennSetWhereFilterParamController
    BaseTreeViewLabelParamController
    ChildTypeParamController
    DataSourceSearchParamController
    GridPageRowCountParamController
    GridViewControllerCustomViewParamsController
    SingleViewControllerViewParamsController
    AnswersParamController
    ButtonSerializedParamController
    CopyAccountData
    CustomObjectSaveProcessor
    FinaliseTransactionsParamController
    GroupedTransactionsProcessor
    ImportData
    ResetAccount
    RevertTransaction
    AlgorithmRunParamController
    ClearCanvasParamsController
    CodeSnippetParamController
    CompareDatabaseParams
    DebugTask
    ImportDefinitonParams<T>
    ModifyCanvasItemsParamController
    ObfuscateFieldParamsController
    QueryRunnerParamController
    ReconciliationParams
    TriggerBaseParams<T>
    TruncateEntityParams
    VerifyConfigParams
    WatcherParams
    TransactionItemProcessor<T>
    UpgradeDatabaseParamController
    importDefinitionParamController
    Implements
    IPopupWindowController<T>
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    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.UI.API.Controllers
    Assembly: LemonEdge.Client.UI.API.dll
    Syntax
    public abstract class ParamSingleViewerController<T> : ParamViewerController<T>, IPopupWindowController<T>, IParamViewerController, IPopupWindowController, IController where T : SerializedParam
    Type Parameters
    Name Description
    T

    The type of parameter this IParamSingleViewer<T> works with

    Constructors

    ParamSingleViewerController(IParamSingleViewer<T>, T)

    Creates a new instance of the controller for the provided single popup window and associated parameter

    Declaration
    protected ParamSingleViewerController(IParamSingleViewer<T> window, T param)
    Parameters
    Type Name Description
    IParamSingleViewer<T> window

    The single popup parameter window instance this controller is for

    T param

    The initial parameters to use when displaying the single popup window

    Properties

    Host

    The host for this popup window

    Declaration
    protected IModelLayoutCommon Host { get; }
    Property Value
    Type Description
    IModelLayoutCommon

    ServiceContext

    The IServiceContext for this controller

    Declaration
    protected IServiceContext ServiceContext { get; }
    Property Value
    Type Description
    IServiceContext

    SingleWindow

    The parameter popup window this controller works against

    Declaration
    protected IParamSingleViewer<T> SingleWindow { get; }
    Property Value
    Type Description
    IParamSingleViewer<T>

    UIContext

    The IUIContext for this controller

    Declaration
    protected IUIContext UIContext { get; }
    Property Value
    Type Description
    IUIContext

    Methods

    AlterControlInfo(ControlDisplayInfo)

    Can be overridden in the derived class to alter the control definition with specific, or dynamic, information such as filters for lookup controls

    Declaration
    protected virtual void AlterControlInfo(ControlDisplayInfo info)
    Parameters
    Type Name Description
    ControlDisplayInfo info

    THe control that should be altered

    ControlNames()

    Can be overridden in a derived class to indicate all the controls to be created in this single parameter popup form

    Declaration
    protected virtual IEnumerable<ControlDisplayInfoLight> ControlNames()
    Returns
    Type Description
    IEnumerable<ControlDisplayInfoLight>

    All the controls to be created in this single parameter popup form

    Controls()

    Can be overridden in a derived class to indicate all the controls to be created in this single parameter popup form

    Declaration
    protected virtual IEnumerable<ControlDisplayInfo> Controls()
    Returns
    Type Description
    IEnumerable<ControlDisplayInfo>

    All the controls to be created in this single parameter popup form

    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
    ParamViewerController<T>.Display()

    InitFromWindow(IPopupWindow<T>)

    Declaration
    protected override void InitFromWindow(IPopupWindow<T> window)
    Parameters
    Type Name Description
    IPopupWindow<T> window
    Overrides
    PopupWindowController<T>.InitFromWindow(IPopupWindow<T>)

    OnItemChanged(object, PropertyChangedEventArgs)

    Fires if the type T implements INotifyPropertyChanged, for every change in the property

    Declaration
    protected virtual void OnItemChanged(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    object sender

    The sender of the event

    PropertyChangedEventArgs e

    THe event argumnets holding the property changed

    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.