Search Results for

    Show / Hide Table of Contents

    Class Timer

    The base class for the diagnostic timers.

    Inheritance
    System.Object
    Timer
    DurationTimer
    RateTimer
    Namespace: FM.LiveSwitch.Diagnostics
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class Timer : object

    Properties

    HasData

    Gets if this Timer has data or not.

    Declaration
    public abstract bool HasData { get; }
    Property Value
    Type Description
    System.Boolean

    Tag

    Gets the tag for this diagnostic timer.

    Declaration
    public string Tag { get; }
    Property Value
    Type Description
    System.String

    Watch

    Gets the stop watch used in this timer.

    Declaration
    protected ManagedStopwatch Watch { get; }
    Property Value
    Type Description
    ManagedStopwatch

    Methods

    Destroy()

    Destroys this timer and its data.

    Declaration
    public void Destroy()

    GetStats()

    Gets a string containing the stats from this timer.

    Declaration
    public abstract string GetStats()
    Returns
    Type Description
    System.String
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0