Interface IControlDisplayInfoFactory
Namespace: LemonEdge.Client.UI.API.Controls
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public interface IControlDisplayInfoFactory
Methods
Create(EntityDescriptor, bool, IReadOnlyCache, bool)
Creates a set of control definitions for all the exportable properties against the specified entity type
Declaration
Task<IEnumerable<ControlDisplayInfo>> Create(EntityDescriptor desc, bool editable, IReadOnlyCache cache, bool allVisible = true)
Parameters
Type | Name | Description |
---|---|---|
EntityDescriptor | desc | The entity type to automatically return all the default controls for |
bool | editable | Indicates if the controls should be editable by the user or not |
IReadOnlyCache | cache | A cache |
bool | allVisible | Indicates system properties should be visible as well |
Returns
Type | Description |
---|---|
Task<IEnumerable<ControlDisplayInfo>> | The set of controls for every exportable property against the specified entity |