Class FormulaFunctionsWithViewModel
The context supplied while executing a formula that has a custom context item, and a view that it operates against
This context is mainly used against formulas that configure and work against a view itself, such as ones that can specify if a view is visible dynamically, or more.
Inheritance
FormulaFunctionsWithViewModel
Implements
Inherited Members
Namespace: LemonEdge.Client.Core
Assembly: LemonEdge.ClientCore.dll
Syntax
public class FormulaFunctionsWithViewModel : FormulaFunctionsWithViewModel<IBaseEntity>, IFormulaFunctionsWithViewModel<IBaseEntity>, IFormulaFunctionsWithContext<IBaseEntity>, IFormulaFunctionsWithViewModel, IFormulaFunctionsWithContext, IFormulaFunctions
Constructors
FormulaFunctionsWithViewModel(IEntityRetriever, IReadOnlyCache, UserInfo, IBaseEntity, IModelLayoutCommon, IFormulaFunctionsServiceContext)
Declaration
public FormulaFunctionsWithViewModel(IEntityRetriever retriever, IReadOnlyCache cache, UserInfo user, IBaseEntity item, IModelLayoutCommon host, IFormulaFunctionsServiceContext services)
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityRetriever | retriever | |
| IReadOnlyCache | cache | |
| UserInfo | user | |
| IBaseEntity | item | |
| IModelLayoutCommon | host | |
| IFormulaFunctionsServiceContext | services |
Methods
GetModelContextType(EntityDescriptor)
Declaration
public static Type GetModelContextType(EntityDescriptor desc)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityDescriptor | desc |
Returns
| Type | Description |
|---|---|
| Type |