Search Results for

    Show / Hide Table of Contents

    Interface IViewSerializedParamDefaultEditor<T>

    If a IModelView has any parameters (defined using Param) the type must inherit ViewSerializedParam

    By default it is assumed the parameters have an associated ParamSingleViewerController<T> and the system presents a popup editor using that

    This interface provides a custom way of editing those parameters with a custom parameter view.
    Inherited Members
    IViewSerializedParamDefaultEditor.DisplayCustomParams(ViewSerializedParam, IModelLayoutCommon)
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IViewSerializedParamDefaultEditor<T> : IViewSerializedParamDefaultEditor where T : ViewSerializedParam
    Type Parameters
    Name Description
    T

    The type of ViewSerializedParam this interface will provide a default editor for

    Methods

    DisplayCustomParams(T, IModelLayoutCommon)

    Provides a default popup parameter window to the user for the specified original parameter values within the specified host

    Declaration
    Task<ViewSerializedParam> DisplayCustomParams(T original, IModelLayoutCommon host)
    Parameters
    Type Name Description
    T original

    The original value of the parameters to display

    IModelLayoutCommon host

    The host this popup parameter window operates within

    Returns
    Type Description
    Task<ViewSerializedParam>

    The new parameters modified by the user, or same as original if unmodified

    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.