Class QueryableTypeFactory
The factory responsible for retrieving all IQueryableType instances in the system for use with our query tools
Implements
Inherited Members
Namespace: LemonEdge.API.Core.Reporting.Queries
Assembly: LemonEdge.API.dll
Syntax
public class QueryableTypeFactory : IQueryableTypeFactory
Constructors
QueryableTypeFactory(IDomainContextEventHandler, IReflectionHelper)
Declaration
public QueryableTypeFactory(IDomainContextEventHandler domainContextEventHandler, IReflectionHelper reflectionHelper)
Parameters
Type | Name | Description |
---|---|---|
IDomainContextEventHandler | domainContextEventHandler | |
IReflectionHelper | reflectionHelper |
Properties
GetTypeKeys
Returns a list of all TypeName. They keys for each different IQueryableType
Declaration
public IEnumerable<string> GetTypeKeys { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Methods
EnsureLoaded()
Ensures all IQueryableType are loaded from the system and custom add in modules
Declaration
public void EnsureLoaded()
GetAll()
Returns all IQueryableType in the system
Declaration
public IEnumerable<IQueryableType> GetAll()
Returns
Type | Description |
---|---|
IEnumerable<IQueryableType> | All IQueryableType in the system |
GetFromKey(string)
Retrieves the IQueryableType for the specified TypeName
Declaration
public IQueryableType GetFromKey(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | A valid TypeName |
Returns
Type | Description |
---|---|
IQueryableType | The IQueryableType for the specified TypeName |