Search Results for

    Show / Hide Table of Contents

    Class CustomFunctionsHelper

    Provides a helper class for calling methods on ICustomFunctions through IEntityUpdater

    Inheritance
    System.Object
    CustomFunctionsHelper
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.API
    Assembly: API.dll
    Syntax
    public sealed class CustomFunctionsHelper

    Methods

    ParseItemInfo(String)

    Retrieves the formatted header information for a specified item in the system

    Declaration
    public static (DateTimeOffset Created, DateTimeOffset Modified, Guid createdBy, Guid modifiedBy, string CreatedByLabel, string ModifiedByLabel) ParseItemInfo(string itemInfo)
    Parameters
    Type Name Description
    System.String itemInfo

    The string returned from calling GetItemInfo(Guid, Guid)

    Returns
    Type Description
    System.ValueTuple<System.DateTimeOffset, System.DateTimeOffset, System.Guid, System.Guid, System.String, System.String>

    A formatted set of information about the specified item

    Remarks

    For instance you can call this method as so:

    var (Created, Modified, createdBy, modifiedBy, createdByLabel, modifiedByLabel) = 
        API.CustomFunctionsHelper.ParseItemInfo(await cn.GetCustomFunctions.GetItemInfo(myTypeID, myItem.ID));

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.