Class FormulaFunctionsWithContext
The context supplied while executing formulas that also has a custom context item the formula can execute against with the correct type
Inheritance
FormulaFunctionsWithContext
Inherited Members
Namespace: LemonEdge .API.Core.Formulas
Assembly: LemonEdge.API.dll
Syntax
public class FormulaFunctionsWithContext : FormulaFunctionsWithContext<IBaseEntity>, IFormulaFunctionsWithContext<IBaseEntity>, IFormulaFunctionsWithContext, IFormulaFunctions
Constructors
FormulaFunctionsWithContext(IEntityRetriever, IReadOnlyCache, UserInfo, IBaseEntity, IFormulaFunctionsServiceContext)
Creates a new formula functions for helping with custom formulas as a context to operate against
Declaration
public FormulaFunctionsWithContext(IEntityRetriever retriever, IReadOnlyCache cache, UserInfo user, IBaseEntity item, IFormulaFunctionsServiceContext services)
Parameters
Type | Name | Description |
---|---|---|
IEntity |
retriever | A context allowing formulas to load and query any data from LemonEdge |
IRead |
cache | A local cache |
User |
user | The current user executing the formula |
IBase |
item | The custom item to be used against the formula |
IFormula |
services | The services demanded from the IService |