Class InstrumentController<T>
An optional base instrument controller used for displaying any instrument entity that inherits from IInstrumentBase in a consistent manner
Inheritance
System.Object
InstrumentController<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 InstrumentController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IInstrumentBase
Type Parameters
Name | Description |
---|---|
T | The instrument entity type that inherits from IInstrumentBase |
Constructors
InstrumentController(IBaseDefaultSingleView<T>)
Creates a new InstrumentController
Declaration
public InstrumentController(IBaseDefaultSingleView<T> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<T> | view | The IBaseDefaultSingleView view implementation using the UI components of the client application |
Methods
ControlNames()
Adds the Name, CurrencyID, OwningEntityID, and AllowUnmapped as controls to the view
Declaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfoLight> | The controls to be displayed against this view |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<T>.ControlNames()