Class BaseDynamicLayoutViewController<T>
Inheritance
BaseDynamicLayoutViewController<T>
Assembly: LemonEdge.ClientCore.dll
Syntax
public abstract class BaseDynamicLayoutViewController<T> : BaseDynamicLayoutViewController, IModelViewController
Type Parameters
Constructors
BaseDynamicLayoutViewController(IBaseDynamicLayoutView<T>)
Declaration
protected BaseDynamicLayoutViewController(IBaseDynamicLayoutView<T> view)
Parameters
Properties
CheckForNewLayoutWithSameItem
Declaration
protected virtual bool CheckForNewLayoutWithSameItem { get; }
Property Value
DisplayLayoutIfSameItem
Declaration
public virtual bool DisplayLayoutIfSameItem { get; }
Property Value
DynamicView
Declaration
public IBaseDynamicLayoutView<T> DynamicView { get; }
Property Value
ListenToChanges
Declaration
public override bool ListenToChanges { get; }
Property Value
Overrides
Methods
Clear()
Clears the associated View back to an initial blank state
Declaration
public override Task Clear()
Returns
Type |
Description |
Task |
A task indicating the completion of the operation
|
Overrides
CloseController()
Called when a view is being closed, and before the controller is disposed.
Used to dispose of associated commands and clear the view
Declaration
public override Task CloseController()
Returns
Type |
Description |
Task |
A task indicating the completion of the operation
|
Overrides
DisplayUI()
Must be implemented by the inheriting class to perform the operation of displaying the
CurrentDisplayedItem against the View
Declaration
public override Task DisplayUI()
Returns
Type |
Description |
Task |
A task indicating the completion of the operation
|
Overrides
GetLayoutForItem(object)
Declaration
public abstract Task<(Guid? LayoutID, ILayoutGenerator Generator)> GetLayoutForItem(object item)
Parameters
Type |
Name |
Description |
object |
item |
|
Returns
GetViewController(IBaseDynamicLayoutView<T>, string)
Declaration
public static BaseDynamicLayoutViewController<T> GetViewController(IBaseDynamicLayoutView<T> view, string controllerName = null)
Parameters
Returns
Implements
Extension Methods