Search Results for

    Show / Hide Table of Contents

    Interface IFormulaFunctionsWithViewModel

    Inherited Members
    IFormulaFunctionsWithContext.ItemAs<T1>()
    IFormulaFunctionsWithContext.SetCustomParameters(Dictionary<string, object>)
    IFormulaFunctionsWithContext.Item
    IFormulaFunctionsWithContext.PropertyChangedItem
    IFormulaFunctionsWithContext.PropertyChangedName
    IFormulaFunctionsWithContext.PropertyChangedAlias
    IFormulaFunctionsWithContext.ChangedItemType
    IFormulaFunctions.GetItemPropertyValue(object, string)
    IFormulaFunctions.Evaluate<T>(string, bool)
    IFormulaFunctions.IsValid<T>(string)
    IFormulaFunctions.IsValid<T>(string, Type)
    IFormulaFunctions.ShareThisQueryCacheWithTarget(IFormulaFunctions)
    IFormulaFunctions.User
    IFormulaFunctions.Data
    IFormulaFunctions.Cache
    Namespace: LemonEdge.Client.Core
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IFormulaFunctionsWithViewModel : IFormulaFunctionsWithContext, IFormulaFunctions

    Properties

    Host

    Declaration
    IModelLayoutCommon Host { get; }
    Property Value
    Type Description
    IModelLayoutCommon

    IgnoreEvents

    Declaration
    bool IgnoreEvents { get; set; }
    Property Value
    Type Description
    bool

    RootController

    Declaration
    IRootController RootController { get; }
    Property Value
    Type Description
    IRootController

    Methods

    DisplayError(Exception)

    Declaration
    [FormulaFunction(Name = "DisplayError", Type = "UI", Description = "Displays the specified exception to the user.", Params = "1. The exception to display.", ParamCount = 1, IsAsync = true)]
    Task DisplayError(Exception ex)
    Parameters
    Type Name Description
    Exception ex
    Returns
    Type Description
    Task

    DisplayInformationMessage(string, string)

    Declaration
    [FormulaFunction(Name = "DisplayInformationMessage", Type = "UI", Description = "Displays ok message.", Params = "1. The title of the message.\r\n2. The message", ParamCount = 2, IsAsync = true)]
    Task DisplayInformationMessage(string title, string msg)
    Parameters
    Type Name Description
    string title
    string msg
    Returns
    Type Description
    Task

    DisplayYesNoCancelQuestion(string, string)

    Declaration
    [FormulaFunction(Name = "DisplayYesNoCancelQuestion", Type = "UI", Description = "Displays a question to the user with a yes/no/cancel option. Returns null if cancel is selected, and true if yes is selected.", Params = "1. The title for the message box.\r\n2. The question the user is prompted with.", ParamCount = 2, IsAsync = true)]
    Task<bool?> DisplayYesNoCancelQuestion(string title, string question)
    Parameters
    Type Name Description
    string title
    string question
    Returns
    Type Description
    Task<bool?>

    DisplayYesNoQuestion(string, string)

    Declaration
    [FormulaFunction(Name = "DisplayYesNoQuestion", Type = "UI", Description = "Displays a question to the user with a yes/no option. Returns true if yes is selected.", Params = "1. The title for the message box.\r\n2. The question the user is prompted with.", ParamCount = 2, IsAsync = true)]
    Task<bool> DisplayYesNoQuestion(string title, string question)
    Parameters
    Type Name Description
    string title
    string question
    Returns
    Type Description
    Task<bool>

    OpenItem(IBaseEntity)

    Declaration
    [FormulaFunction(Name = "OpenItem", Type = "UI", Description = "Opens the specified item as a seperate tab in the app.", Params = "1. The item to open.", ParamCount = 1, IsAsync = true)]
    Task OpenItem(IBaseEntity item)
    Parameters
    Type Name Description
    IBaseEntity item
    Returns
    Type Description
    Task

    OpenItemFromID(Type, Guid)

    Declaration
    [FormulaFunction(Name = "OpenItemFromID", Type = "UI", Description = "Opens the specified item as a seperate tab in the app.", Params = "1. The type of item to open.\r\n2. The id of the item to open", ParamCount = 2, IsAsync = true)]
    Task OpenItemFromID(Type itemType, Guid itemID)
    Parameters
    Type Name Description
    Type itemType
    Guid itemID
    Returns
    Type Description
    Task

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.