Class DiagnosticsService
A class for handling diagnostics.
Inheritance
System.Object
DiagnosticsService
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Diagnostics
Assembly: FM.LiveSwitch.dll
Syntax
public class DiagnosticsService
Constructors
DiagnosticsService(String, LogContext, IDiagnosticsProvider, Int32)
Constructor.
Declaration
public DiagnosticsService(string label, LogContext logContext, IDiagnosticsProvider provider, int intervalMs)
Parameters
Type | Name | Description |
---|---|---|
System.String | label | |
LogContext | logContext | |
IDiagnosticsProvider | provider | |
System.Int32 | intervalMs |
Methods
Start()
Start the Diagnostics Service.
Declaration
public void Start()
Stop()
Stop the Diagostics Service.
Declaration
public void Stop()