Search Results for

    Show / Hide Table of Contents

    Class BaseDefaultSingleViewCustomController<T>

    The system controller used for automatically creating a IBaseDefaultSingleView<T> according to a ICustomView definition

    Uses the SingleViewControllerCustomViewParams parameter for the view to determine the ICustomView to load the defintion of

    Inheritance
    System.Object
    ModelViewController
    BaseDefaultSingleViewController<T>
    BaseDefaultSingleViewCustomController<T>
    Implements
    IModelViewController
    Inherited Members
    BaseDefaultSingleViewController<T>.GetSingleViewController(IBaseDefaultSingleView<T>, String)
    BaseDefaultSingleViewController<T>.SingleItem
    BaseDefaultSingleViewController<T>.SingleView
    BaseDefaultSingleViewController<T>.InitAsync()
    BaseDefaultSingleViewController<T>.LoadSingleItem()
    BaseDefaultSingleViewController<T>.Descriptor
    BaseDefaultSingleViewController<T>.SetAndLoadSingleItem()
    BaseDefaultSingleViewController<T>.ViewDisplayType
    BaseDefaultSingleViewController<T>.ViewMaxWidth
    BaseDefaultSingleViewController<T>.ViewMaxHeight
    BaseDefaultSingleViewController<T>.ViewRowCount
    BaseDefaultSingleViewController<T>.ViewColumnCount
    BaseDefaultSingleViewController<T>.DisplayUI()
    BaseDefaultSingleViewController<T>.ControlNames()
    BaseDefaultSingleViewController<T>.TrackItemChanges
    BaseDefaultSingleViewController<T>.OnTrackedItemChanged(Object, String)
    BaseDefaultSingleViewController<T>.HasParentToAnyRelationship
    BaseDefaultSingleViewController<T>.AlterControlInfo(ControlDisplayInfo)
    BaseDefaultSingleViewController<T>.GetControlDescriptor(String)
    ModelViewController.CurrentDisplayedItem
    ModelViewController.CanWrite
    ModelViewController.CheckIsLockedForCanWrite
    ModelViewController.View
    ModelViewController.DisplayItem(Object)
    ModelViewController.ShouldDisplayItem(Object)
    ModelViewController.DisplayIfNull
    ModelViewController.Redisplay()
    ModelViewController.RemoveHandlers(Object)
    ModelViewController.AddHandlers(Object)
    ModelViewController.Clear()
    ModelViewController.CloseController()
    ModelViewController.InitCommands(IList<ViewCommand>)
    ModelViewController.RemoveCommand(ViewCommand)
    ModelViewController.RemoveCommands<OFType>()
    ModelViewController.InsertCommand(ViewCommand, Int32)
    ModelViewController.InsertCommand(ViewCommand, ViewCommand, ViewCommand)
    ModelViewController.Commands
    ModelViewController.UpdateAllCommands()
    ModelViewController.SelectedItemForSubViews
    ModelViewController.ContextHelpURL
    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.Views.Core
    Assembly: ClientCore.dll
    Syntax
    public class BaseDefaultSingleViewCustomController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IBaseEntity
    Type Parameters
    Name Description
    T

    The entity type to be displayed and edited by this controller

    Constructors

    BaseDefaultSingleViewCustomController(IBaseDefaultSingleView<T>)

    Creates a new system BaseDefaultSingleViewCustomController with the specified instance of a default single view

    Declaration
    public BaseDefaultSingleViewCustomController(IBaseDefaultSingleView<T> view)
    Parameters
    Type Name Description
    IBaseDefaultSingleView<T> view

    The instance of the default single view in the client application

    Methods

    Controls()

    Returns all the controls loaded from LoadControls()

    Declaration
    protected override IEnumerable<ControlDisplayInfo> Controls()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfo>

    All the controls loaded from LoadControls() which dynamically represent the definitions in ICustomViewControl for this ICustomView

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.Controls()

    LoadControls()

    Loads all the control definitions as defined by the ICustomViewControl collection for the ICustomView specified in the SingleViewControllerCustomViewParams for this view

    Declaration
    public override Task LoadControls()
    Returns
    Type Description
    System.Threading.Tasks.Task

    All the control definitions as defined by the ICustomViewControl collection for the ICustomView specified in the SingleViewControllerCustomViewParams for this view

    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.LoadControls()

    Implements

    IModelViewController

    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 © LemonEdge Technology. All rights reserved.