ActionEngine Class
Represents the executing GlobalAction engine, containing methods and properties pertaining to engine information.
public class ActionEngine : Engine
Example
The following example demonstrates retrieving a configuration value and a CaptureApi client from the engine helper class.
public class Example : ActionNode { var mongoConnection = Engine.GetEngineConfigSetting("Mongo"); var captureApi = Engine.GetCaptureApiClient(); }
Properties
Methods
-
GetCaptureApiClient Method — Gets an HttpClient object configured to make calls to the CaptureApi associated with the executing engine.
-
GetEngineConfigSetting Method — Gets a value from the engine app.config file by key name.
-
GetSquare9ApiClient Method — Gets an HttpClient object configured to make calls to a Square9Api.