Actions

C# Methods for Core > Actions

ActionExists

Check if an action exist by name
Returns a boolean indicating whether the action exists.

public bool ActionExists(string actionName)

DisableAction

Disables an action, by name

public void DisableAction(string actionName)

DisableActionById

Disables an action, by ID

0.2.4
public void DisableActionById(string actionId)

EnableAction

Enables an action, by name

public void EnableAction(string actionName)

EnableActionById

Enables an action, by ID

0.2.4
public void EnableActionById(string actionId)

GetActions

Returns a list of action data for all available actions

0.2.4
public List<ActionData> GetActions()

RunAction

Run an action, by name

Returns a boolean indicating whether the operation was successful.

public bool RunAction(string actionName, bool runImmediately = true)

RunActionById

Run an action, by id

Returns a boolean indicating whether the operation was successful.

public bool RunActionById(string actionId, bool runImmediately = true)