Interface ISoTimeRecorderContext
Context passed by implementers of SoTimeRecorder plugins to the user of the time recorder to measure time.
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public interface ISoTimeRecorderContext : IDisposable
Methods
End()
Stop the timer and obtain the time since the start of the timing.
Declaration
void End()
Increment()
Increment the build in counter
Declaration
void Increment()
Lap(Func<String>)
Perform a lap operation and see the time since the previous lap.
Declaration
void Lap(Func<string> description)
Parameters
Type | Name | Description |
---|---|---|
Func<String> | description | Information about the lap. |
Split(Func<String>)
Perform a split operation to see how long time was spent since the the timer was started.
Declaration
void Split(Func<string> description)
Parameters
Type | Name | Description |
---|---|---|
Func<String> | description | Information about the split time. |
Extension Methods
EnumUtil.MapEnums<From, To>(From)