Class CustomFunctionsHelper
Provides a helper class for calling methods on ICustomFunctions through IEntityUpdater
Inherited Members
Namespace: LemonEdge.API.Core.Data
Assembly: LemonEdge.API.dll
Syntax
public sealed class CustomFunctionsHelper
Constructors
CustomFunctionsHelper()
Declaration
public 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, Guid[] ModifiedBys) ParseItemInfo(string itemInfo)
Parameters
Type | Name | Description |
---|---|---|
string | itemInfo | The string returned from calling GetItemInfo(Guid, Guid) |
Returns
Type | Description |
---|---|
(DateTimeOffset Created, DateTimeOffset Modified, Guid createdBy, Guid modifiedBy, string CreatedByLabel, string ModifiedByLabel, Guid[] ModifiedBys) | 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));