Show / Hide Table of Contents

Class SoTimeLoggerPlugin

Plugin responsible for logging times to file.

Inheritance
Object
SoTimeLoggerPlugin
Implements
ISoTimeRecorderPlugin
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
[SoTimeRecorderPlugin("LogTimes")]
public sealed class SoTimeLoggerPlugin : Object, ISoTimeRecorderPlugin, IPlugin

Constructors

SoTimeLoggerPlugin()

Plugin responsible for logging times to file.

Declaration
public SoTimeLoggerPlugin()

Properties

Enabled

Plugin responsible for logging times to file.

Declaration
public bool Enabled { get; }
Property Value
Type Description
Boolean

Methods

Start(SoTimerType, String, Func<String>)

Start a timing operation.

Declaration
public ISoTimeRecorderContext Start(SoTimerType type, string category, Func<string> description)
Parameters
Type Name Description
SoTimerType type
String category

Category like: Database, Services, WebRequest, etc.

Func<String> description

Brief information about what is being timed.

Returns
Type Description
ISoTimeRecorderContext

Timer object

Implements

ISoTimeRecorderPlugin

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top