Synced
ScriptCompilationStageTiming.Constructor
Section titled “ScriptCompilationStageTiming.Constructor”
- Creates one immutable stage timing sample.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scripting.Compiler
Declaration
Section titled “Declaration”public Inno.Scripting.Compiler.ScriptCompilationStageTiming.ScriptCompilationStageTiming(string stage, System.TimeSpan elapsed)Parameters
Section titled “Parameters”Parameter stage: The human-readable stage description.
Parameter elapsed: The wall time spent in the stage.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when stage is empty or contains only whitespace.
Exception T:System.ArgumentOutOfRangeException: Thrown when elapsed is negative.