Class BaseDefaultSingleViewCustomController<T>
The system controller used for automatically creating a IBaseDefaultSingleView<T> according to a ICustomView definition
Uses the SingleViewControllerCustomViewParams parameter for the view to determine the ICustomView to load the defintion of
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Core
Assembly: ClientCore.dll
Syntax
public class BaseDefaultSingleViewCustomController<T> : BaseDefaultSingleViewController<T>, IModelViewController where T : IBaseEntity
Type Parameters
Name | Description |
---|---|
T | The entity type to be displayed and edited by this controller |
Constructors
BaseDefaultSingleViewCustomController(IBaseDefaultSingleView<T>)
Creates a new system BaseDefaultSingleViewCustomController with the specified instance of a default single view
Declaration
public BaseDefaultSingleViewCustomController(IBaseDefaultSingleView<T> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<T> | view | The instance of the default single view in the client application |
Methods
Controls()
Returns all the controls loaded from LoadControls()
Declaration
protected override IEnumerable<ControlDisplayInfo> Controls()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ControlDisplayInfo> | All the controls loaded from LoadControls() which dynamically represent the definitions in ICustomViewControl for this ICustomView |
Overrides
LoadControls()
Loads all the control definitions as defined by the ICustomViewControl collection for the ICustomView specified in the SingleViewControllerCustomViewParams for this view
Declaration
public override Task LoadControls()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | All the control definitions as defined by the ICustomViewControl collection for the ICustomView specified in the SingleViewControllerCustomViewParams for this view |