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
    System.Object
    PopupWindowController
    PopupWindowController<T>
    ParamViewerController<T>
    EffectiveDateParamController
    EntitySerializedParamController
    EntityTypeSerializedParamController
    ImageSerializedParamController
    ParamSingleViewerController<T>
    TextSerializedParamController
    UniqueIDSerializedParamController
    ImageViewSerializedParamController
    MessageSerializedParamController
    ViewSerializedParamController
    TabSerializedParamController
    SQLWrapperResultsSerializedParamControllerBase<T>
    Implements
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    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.Support
    Assembly: ClientCore.dll
    Syntax
    public abstract class ParamViewerController<T> : PopupWindowController<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
    public 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
    System.Threading.Tasks.Task

    A task indicating the completion of the operation

    Overrides
    LemonEdge.Client.Core.Support.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

    Explicit Interface Implementations

    IParamViewerController.OriginalParam

    The original parameters used when creating this controller

    Declaration
    SerializedParam IParamViewerController.OriginalParam { get; }
    Returns
    Type Description
    SerializedParam

    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.