Search Results for

    Show / Hide Table of Contents

    Interface IFormulaFunctions

    An interface of the context object associated with processing all LemonEdge formulas

    Namespace: LemonEdge.Core
    Assembly: API.dll
    Syntax
    public interface IFormulaFunctions

    Properties

    Cache

    A local cache for retrieving already loaded standing data

    Declaration
    IReadOnlyCache Cache { get; }
    Property Value
    Type Description
    IReadOnlyCache

    Data

    A context that allows you to retrieve and query any data from the LemonEdge system for evaluation

    Declaration
    IEntityRetriever Data { get; }
    Property Value
    Type Description
    IEntityRetriever

    User

    The current user running the formula

    Declaration
    UserInfo User { get; }
    Property Value
    Type Description
    UserInfo

    Methods

    GetItemPropertyValue(Object, String)

    Returns the value for a specifid propName against an item

    Declaration
    object GetItemPropertyValue(object item, string propName)
    Parameters
    Type Name Description
    System.Object item

    The item to return the value of the specified property from

    System.String propName

    The property to return the value from

    Returns
    Type Description
    System.Object

    The value for a specifid propName against an item

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    IFormulaFunctionsWithContextItem
    FormulaFunctions
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.