Class TransactionAndGLController
Inheritance
TransactionAndGLController
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class TransactionAndGLController : BaseDynamicLayoutViewController<ITransaction>, IModelViewController
Constructors
TransactionAndGLController(IBaseDynamicLayoutView<ITransaction>)
Declaration
public TransactionAndGLController(IBaseDynamicLayoutView<ITransaction> view)
Parameters
| Type | Name | Description |
|---|---|---|
| IBaseDynamicLayoutView<ITransaction> | view |
Properties
CheckForNewLayoutWithSameItem
Declaration
protected override bool CheckForNewLayoutWithSameItem { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDynamicLayoutViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction>.CheckForNewLayoutWithSameItem
DisplayLayoutIfSameItem
Declaration
public override bool DisplayLayoutIfSameItem { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
LemonEdge.Client.Core.Views.Core.BaseDynamicLayoutViewController<LemonEdge.API.Entities.FinancialServices.Transactions.ITransaction>.DisplayLayoutIfSameItem
LockableHandler
Declaration
public ILockable LockableHandler { get; }
Property Value
| Type | Description |
|---|---|
| ILockable |
Methods
GetLayoutForItem(object)
Declaration
public override Task<(Guid? LayoutID, ILayoutGenerator Generator)> GetLayoutForItem(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item |
Returns
| Type | Description |
|---|---|
| Task<(Guid? LayoutID, ILayoutGenerator Generator)> |
Overrides
InitAsync()
Provides the controller a chance to initialize any dependant data. Called once by the system after controller creation.
Declaration
public override Task InitAsync()
Returns
| Type | Description |
|---|---|
| Task | A task indicating the completion of the operation |
Overrides
OnTrackedItemChanged(object, string)
Provides the inheriting class the opportunity to react to any changed item in the context this View operates within
Declaration
protected override void OnTrackedItemChanged(object item, string propName)
Parameters
| Type | Name | Description |
|---|---|---|
| object | item | The item that has changed |
| string | propName | The name of the property on the item that changed |
Overrides
UpdateLocked()
Declaration
public void UpdateLocked()