Class Configuration
Configuration class for application. Access to app params and other simulation configuration data.
Inherited Members
Namespace: Unity.Simulation
Assembly: solution.dll
Syntax
public class Configuration
Fields
Name | Description |
---|---|
SimulationConfig | Accessor for the simulation configuration. |
Properties
Name | Description |
---|---|
Instance | Singleton accessor. |
Methods
Name | Description |
---|---|
GetAppParams<T>() | Returns the AppParams of custom type T |
GetAttemptId() | Returns the attemptId of the simulation run. |
GetInstanceId() | Returns the id of the instance on which the simulation is currently running. |
GetStorageBasePath() | Returns the base storage path for the data storage in the cloud. It defaults to the Application persistent data path. |
GetStorageBasePathOther() | Returns the non-artifact base storage path for the data storage in the cloud. It defaults to the Application persistent data path. |
GetStoragePath() | Returns the full path for the storage which contains base path and the attemptId |
GetStoragePathOther() | Returns the full path for the storage which contains base path and the attemptId, for non-artifacts |
IsSimulationRunningInCloud() | Returns if the simulation is running in cloud or not. |