Class ActionRecorder
Define a tool to log the actions that occur in the environment.
Inherited Members
Namespace: Xareus.Scenarios.Relations
Assembly: Xareus.Scenarios.Relations.dll
Syntax
public class ActionRecorder
Properties
Instance
Return the recorder instance
Declaration
public static ActionRecorder Instance { get; }
Property Value
Type | Description |
---|---|
ActionRecorder |
Methods
ActionTriggered(Realization)
Update the trace when a realization is executed.
Declaration
public void ActionTriggered(Realization cause)
Parameters
Type | Name | Description |
---|---|---|
Realization | cause |
Initialize(string, string)
Initialize the execution.
Declaration
public void Initialize(string process, string id)
Parameters
Type | Name | Description |
---|---|---|
string | process | Type of the process |
string | id | Iteration |
SetEnvironment(Environment)
Defines the environment of the system.
Declaration
public static void SetEnvironment(Environment environment)
Parameters
Type | Name | Description |
---|---|---|
Environment | environment |
WriteDebug()
Write the XML of the execution on the standard output if debug is anabled.
Declaration
public void WriteDebug()
WriteInFile(string)
Write the XML of the execution in a file.
Declaration
public void WriteInFile(string fileName)
Parameters
Type | Name | Description |
---|---|---|
string | fileName |