Search Results for

    Show / Hide Table of Contents

    Class BaseDynamicLayoutViewController<T>

    Inheritance
    object
    ModelViewController
    BaseDynamicLayoutViewController
    BaseDynamicLayoutViewController<T>
    TransactionAndGLController
    TransactionCustomDynamicLayoutController
    Implements
    IModelViewController
    Inherited Members
    BaseDynamicLayoutViewController.GetNestedViews()
    BaseDynamicLayoutViewController.InternalLayout
    ModelViewController.InitAsync()
    ModelViewController.DisplayItem(object)
    ModelViewController.GetCurrentDisplayedItem(object)
    ModelViewController.Redisplay()
    ModelViewController.OnTrackedItemChanged(object, string)
    ModelViewController.GetCanWrite(object)
    ModelViewController.ShouldDisplayItem(object)
    ModelViewController.RemoveHandlers(object)
    ModelViewController.AddHandlers(object)
    ModelViewController.InitCommands(IList<ViewCommand>)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<TOfType>()
    ModelViewController.InsertCommand(ViewCommand, int)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.UpdateAllCommands()
    ModelViewController.RootController
    ModelViewController.ServiceContext
    ModelViewController.UIContext
    ModelViewController.CanWrite
    ModelViewController.TrackChanges
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.DisplayIfNull
    ModelViewController.CurrentDisplayedItem
    ModelViewController.View
    ModelViewController.Commands
    ModelViewController.SelectedItemForSubViews
    ModelViewController.ContextHelpURL
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Views.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public abstract class BaseDynamicLayoutViewController<T> : BaseDynamicLayoutViewController, IModelViewController
    Type Parameters
    Name Description
    T

    Constructors

    BaseDynamicLayoutViewController(IBaseDynamicLayoutView<T>)

    Declaration
    protected BaseDynamicLayoutViewController(IBaseDynamicLayoutView<T> view)
    Parameters
    Type Name Description
    IBaseDynamicLayoutView<T> view

    Properties

    CheckForNewLayoutWithSameItem

    Declaration
    protected virtual bool CheckForNewLayoutWithSameItem { get; }
    Property Value
    Type Description
    bool

    DisplayLayoutIfSameItem

    Declaration
    public virtual bool DisplayLayoutIfSameItem { get; }
    Property Value
    Type Description
    bool

    DynamicView

    Declaration
    public IBaseDynamicLayoutView<T> DynamicView { get; }
    Property Value
    Type Description
    IBaseDynamicLayoutView<T>

    ListenToChanges

    Indicates that this controller should be notified of changes made to any tracked item in this context via the OnTrackedItemChanged(object, string)

    Declaration
    public override bool ListenToChanges { get; }
    Property Value
    Type Description
    bool
    Overrides
    ModelViewController.ListenToChanges

    Methods

    Clear()

    Clears the associated View back to an initial blank state

    Declaration
    public override Task Clear()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.Clear()

    CloseController()

    Called when a view is being closed, and before the controller is disposed.

    Used to dispose of associated commands and clear the view

    Declaration
    public override Task CloseController()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.CloseController()

    DisplayUI()

    Must be implemented by the inheriting class to perform the operation of displaying the CurrentDisplayedItem against the View

    Declaration
    public override Task DisplayUI()
    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ModelViewController.DisplayUI()

    GetLayoutForItem(object)

    Declaration
    public abstract Task<(Guid? LayoutID, ILayoutGenerator Generator)> GetLayoutForItem(object item)
    Parameters
    Type Name Description
    object item
    Returns
    Type Description
    Task<(Guid? LayoutID, ILayoutGenerator Generator)>

    GetViewController(IBaseDynamicLayoutView<T>, string)

    Declaration
    public static BaseDynamicLayoutViewController<T> GetViewController(IBaseDynamicLayoutView<T> view, string controllerName = null)
    Parameters
    Type Name Description
    IBaseDynamicLayoutView<T> view
    string controllerName
    Returns
    Type Description
    BaseDynamicLayoutViewController<T>

    Implements

    IModelViewController

    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.