Show / Hide Table of Contents

Interface ISoTimeRecorderContext

Context passed by implementers of SoTimeRecorder plugins to the user of the time recorder to measure time.

Inherited Members
IDisposable.Dispose()
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)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top