Class InstrumentsController<T>
An optional base instrument entity controller used for displaying a collection of entities that inherit from IInstrumentBase in a consistent manner
Inheritance
System.Object
InstrumentsController<T>
Implements
Inherited Members
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.Controllers
Assembly: ClientCore.dll
Syntax
public abstract class InstrumentsController<T> : BaseGridController<T>, IBaseGridController, IModelViewController, ICollectionExportable, INewGridItemImplementor<T>, ICopyGridItemImplementor<T>, IGrid, IDeleteGridItemImplementor<T> where T : IInstrumentBase
Type Parameters
Name | Description |
---|---|
T | The instrument entity type that inherits from IInstrumentBase |
Constructors
InstrumentsController(IBaseGrid<T>)
Creates a new InstrumentController
Declaration
public InstrumentsController(IBaseGrid<T> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseGrid<T> | view | The IBaseGrid view implementation using the UI components of the client application |
Properties
AutoOpenNewItemInTab
Declaration
public override bool AutoOpenNewItemInTab { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.AutoOpenNewItemInTab
DefaultSearchColumn
Declaration
protected override string DefaultSearchColumn { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
AlterQuery(QueryableExecuter<T>)
Alters the collection of instruments to be sorted by Name
Declaration
protected override QueryableExecuter<T> AlterQuery(QueryableExecuter<T> query)
Parameters
Type | Name | Description |
---|---|---|
QueryableExecuter<T> | query | The query executed to return all instruments to be displayed |
Returns
Type | Description |
---|---|
QueryableExecuter<T> | The query executed to return all instruments to be displayed |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.AlterQuery(LemonEdge.Utils.QueryableExecuter<T>)
ColumnNames()
Adds the Name, CurrencyID, OwningEntityID, and AllowUnmapped as columns to the view
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ColumnNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The columns to be added against this grid |
Overrides
LemonEdge.Client.Core.Views.Core.BaseGridControllerAny<T>.ColumnNames()