Engine Class
Represents the executing engine, containing methods and properties pertaining to engine information.
public class Engine
Example
The following example demonstrates retrieving a few config values and a CaptureApi client from the engine helper class.
public class Example : CustomNode
{
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.