Search Results for

    Show / Hide Table of Contents

    Class TextSerializedParamController

    The controller for displaying and handling the TextEditorParam to the user

    Inheritance
    object
    PopupWindowController
    PopupWindowController<TextEditorParam>
    ParamViewerController<TextEditorParam>
    TextSerializedParamController
    Implements
    IPopupWindowController<TextEditorParam>
    IParamViewerController
    IPopupWindowController
    IController
    Inherited Members
    ParamViewerController<TextEditorParam>.SetParam(TextEditorParam)
    ParamViewerController<TextEditorParam>.Display()
    ParamViewerController<TextEditorParam>.OriginalParam
    PopupWindowController<TextEditorParam>.InitFromWindow(IPopupWindow<TextEditorParam>)
    PopupWindowController<TextEditorParam>.InitCommands(IList<ViewCommand>)
    PopupWindowController<TextEditorParam>.OnOk(object)
    PopupWindowController<TextEditorParam>.OnOk(TextEditorParam)
    PopupWindowController<TextEditorParam>.OnCancel()
    PopupWindowController<TextEditorParam>.OwningWindow
    PopupWindowController<TextEditorParam>.Commands
    PopupWindowController<TextEditorParam>.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.Support
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class TextSerializedParamController : ParamViewerController<TextEditorParam>, IPopupWindowController<TextEditorParam>, IParamViewerController, IPopupWindowController, IController

    Constructors

    TextSerializedParamController(IParamViewer<TextEditorParam>, TextEditorParam)

    Creates a new controller for the specified client ui implementation of the param viewer

    Declaration
    public TextSerializedParamController(IParamViewer<TextEditorParam> window, TextEditorParam param)
    Parameters
    Type Name Description
    IParamViewer<TextEditorParam> window

    The window instance that implements the param viewer for the specified param

    TextEditorParam param

    The initial instance of the param to display

    Properties

    OverrideValidation

    Declaration
    public bool OverrideValidation { get; set; }
    Property Value
    Type Description
    bool

    Methods

    Validate(TextEditorParam)

    Returns if the provided parameter is valid or not

    Declaration
    public override Task<(bool IsValid, string ValidationFailureMessage)> Validate(TextEditorParam result)
    Parameters
    Type Name Description
    TextEditorParam result
    Returns
    Type Description
    Task<(bool IsValid, string ValidationFailureMessage)>

    True if valid, otherwise false with a corrosponding message

    Overrides
    PopupWindowController<TextEditorParam>.Validate(TextEditorParam)

    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.