Class PivotViewController
The controller for handling the IPivotBase view
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientCore.dll
Syntax
public class PivotViewController : ModelViewController, IModelViewController
Constructors
PivotViewController(IPivotBase)
Creates a new pivot controller with the specified instance of a pivot view
Declaration
public PivotViewController(IPivotBase view)
Parameters
Type | Name | Description |
---|---|---|
IPivotBase | view | The instance of the pivot view in the client application ui |
Properties
ContextHelpURL
The help url for the pivot view
Declaration
public override string ContextHelpURL { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PivotView
The IPivotBase view this controller works with
Declaration
public IPivotBase PivotView { get; }
Property Value
Type | Description |
---|---|
IPivotBase |
Methods
Clear()
Clears the pivot view
Declaration
public override Task Clear()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
DisplayUI()
Loads the IPivotProcessor for this view, and executes the query to pass the results to the pivot for displaying
Declaration
public override Task DisplayUI()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
InitAsync()
Processes any PivotViewResultParams against the Param for this view which can indicate how to execute the preconfigured pivot data
Declaration
public override Task InitAsync()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |
Overrides
InitCommands(IList<ViewCommand>)
Adds a command to execute the pivot again that will prompt for parameters
Declaration
protected override void InitCommands(IList<ViewCommand> commands)
Parameters
Type | Name | Description |
---|---|---|
IList<ViewCommand> | commands | The initial set of commands for this view |
Overrides
Redisplay()
Redisplays this pivot, supressing any popup for new parameters (unless required)
Declaration
public override Task Redisplay()
Returns
Type | Description |
---|---|
Task | A task indicating the completion of this operation |