Class ReportExpressController
Inheritance
ReportExpressController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class ReportExpressController : BaseDefaultSingleViewController<IReportExpress>, IModelViewController
Constructors
ReportExpressController(IBaseDefaultSingleView<IReportExpress>)
Declaration
public ReportExpressController(IBaseDefaultSingleView<IReportExpress> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<IReportExpress> | view |
Methods
ControlNames()
A list of all the controls to be dynamically created in the SingleView
This is used by the system to create the actual ControlDisplayInfo classes required from the Controls() property
You can override this to provide a simple definition of each control (combined with AlterControlInfo(ControlDisplayInfo) for more detail), or you can just override Controls() and ignore thisDeclaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all the controls to be dynamically created in the SingleView |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.Reporting.IReportExpress>.ControlNames()
InitCommands(IList<ViewCommand>)
Provides the inheriting class an opportunity to add custom commands to this controller
Declaration
protected override void InitCommands(IList<ViewCommand> commands)
Parameters
Type | Name | Description |
---|---|---|
IList<ViewCommand> | commands | The current set of commands for this controller |
Overrides
LoadSingleItem()
Provides an inheriting class the opportunity to load the single entity item this view should display
Declaration
public override Task<IReportExpress> LoadSingleItem()
Returns
Type | Description |
---|---|
Task<IReportExpress> | The instance of the entity of type IReportExpress that this controller is displaying/editing |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDefaultSingleViewController<LemonEdge.API.Entities.Reporting.IReportExpress>.LoadSingleItem()