Search Results for

    Show / Hide Table of Contents

    Class HasVersionController<T>

    The default controller for an entity that implements IHasVersion

    Provides version information and controls

    Inheritance
    System.Object
    ModelViewController
    BaseDefaultSingleViewController<T>
    HasVersionController<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>.LoadControls()
    BaseDefaultSingleViewController<T>.ViewDisplayType
    BaseDefaultSingleViewController<T>.ViewMaxWidth
    BaseDefaultSingleViewController<T>.ViewMaxHeight
    BaseDefaultSingleViewController<T>.ViewRowCount
    BaseDefaultSingleViewController<T>.ViewColumnCount
    BaseDefaultSingleViewController<T>.DisplayUI()
    BaseDefaultSingleViewController<T>.Controls()
    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.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 HasVersionController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IHasVersion, IBaseEntity
    Type Parameters
    Name Description
    T

    The type of entity that implements IHasVersion

    Constructors

    HasVersionController(IBaseDefaultSingleView<T>)

    Creates a new version controller for the entity type T that implements IHasVersion

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

    The default single view instance for this entity type T

    Methods

    ControlNames()

    Adds 2 controls to the view: IsSystem and Version (read-only)

    Declaration
    protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ControlDisplayInfoLight>
    Overrides
    LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.ControlNames()

    InitCommands(IList<ViewCommand>)

    Adds a reset version to 0 command to the list of commands for this view

    Declaration
    protected override void InitCommands(IList<ViewCommand> commands)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ViewCommand> commands

    The standard list of commands for this view

    Overrides
    ModelViewController.InitCommands(IList<ViewCommand>)

    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 © LemonTree Software Ltd. All rights reserved.