Interface IViewDescriptorEnumeratorFactory
Manages the available list of ViewDescriptorEnumerators
Namespace: LemonEdge.Client.UI.API.Views.Factories
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public interface IViewDescriptorEnumeratorFactory
Methods
GetEntitiesWithDefaultViewImplementation<TEnumerator>()
Gets a list of EntityDescriptor that have default view implementations for the supplied ViewDescriptorEnumerator type.
Declaration
EntityDescriptor[] GetEntitiesWithDefaultViewImplementation<TEnumerator>() where TEnumerator : ViewDescriptorEnumerator
Returns
| Type | Description |
|---|---|
| EntityDescriptor[] |
Type Parameters
| Name | Description |
|---|---|
| TEnumerator | The enumerator type |
GetEnumeratorByType(Type)
Given an enumerator type, returns the enumerator.
Declaration
ViewDescriptorEnumerator? GetEnumeratorByType(Type enumeratorType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | enumeratorType | The type of the enumerator |
Returns
| Type | Description |
|---|---|
| ViewDescriptorEnumerator | The enumerator, or null |
LoadDefaultEnumerators()
Tells any default enumerators to load their controllers.
Declaration
Task LoadDefaultEnumerators()
Returns
| Type | Description |
|---|---|
| Task |