Search Results for

    Show / Hide Table of Contents

    Class ParamViewerController<T>

    The base parameter viewer controller for all instances of a IParamViewer<T> popup window

    Inheritance
    object
    PopupWindowController
    PopupWindowController<T>
    ParamViewerController<T>
    EffectiveDateParamController
    EntitySerializedParamController
    ImageSerializedParamController
    TextSerializedParamController
    UniqueIDSerializedParamController
    UserController.ResetUserPassword.NewPasswordSerializedParamController
    UserSettingsController.ResetMyPassword.UpdatePasswordSerializedParamController
    ViewSerializedParamController
    TabSerializedParamController
    ImageViewSerializedParamController
    MessageSerializedParamController
    SQLWrapperResultsSerializedParamControllerBase<T>
    ParamSingleViewerController<T>
    Implements
    IPopupWindowController<T>
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    PopupWindowController<T>.InitFromWindow(IPopupWindow<T>)
    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 ParamViewerController<T> : PopupWindowController<T>, IPopupWindowController<T>, IParamViewerController, IPopupWindowController, IController where T : SerializedParam
    Type Parameters
    Name Description
    T

    The type of parameters this IParamViewer<T> works with

    Constructors

    ParamViewerController(IParamViewer<T>, T)

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

    Declaration
    protected ParamViewerController(IParamViewer<T> window, T param)
    Parameters
    Type Name Description
    IParamViewer<T> window

    The popup parameter window instance this controller is for

    T param

    The initial parameters to use when displaying the popup window

    Properties

    OriginalParam

    The original parameters used when creating this controller

    Declaration
    public T? OriginalParam { get; }
    Property Value
    Type Description
    T

    Methods

    Display()

    Overridse the default display method to call the parameter viewer to display the current OriginalParam

    Declaration
    public override Task Display()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    PopupWindowController<T>.Display()

    SetParam(T)

    Sets the initial parameters to a new provided value

    Declaration
    protected void SetParam(T param)
    Parameters
    Type Name Description
    T param

    The new value to be used as the initial parameters when displaying the popup parameter window form

    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.