Class SimulationProgressImpl
Provides a component to show the progress of the simulation
in form of progress bar.
Inheritance
System.Object
SimulationProgressImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Core.Executor.Implementation
Assembly: Mars.Core.dll
Syntax
public class SimulationProgressImpl : ISimulationProgress, IDisposable
Constructors
| Improve this Doc View SourceSimulationProgressImpl(IConfigLoader)
Creates a new progress with the IConfigLoader as a the dependency
Declaration
public SimulationProgressImpl(IConfigLoader configLoader)
Parameters
Type | Name | Description |
---|---|---|
IConfigLoader | configLoader |
Methods
| Improve this Doc View SourceDispose()
Release the progress bar
Declaration
public void Dispose()
Start(Int32)
Starts a new progress bar with optional options for visualisation
Declaration
public void Start(int maxTicks)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxTicks | The amount of execution iterations |
Tick(String)
One step forward in the progress
Declaration
public void Tick(string message = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Implements
System.IDisposable