Search Results for

    Show / Hide Table of Contents

    Class DurationSample

    A sample for the duration timer.

    Inheritance
    System.Object
    DurationSample
    Namespace: FM.LiveSwitch.Diagnostics
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class DurationSample : object

    Constructors

    DurationSample(Int64)

    Creates a new instance of the DurationSample class.

    Declaration
    public DurationSample(long beginMillis)
    Parameters
    Type Name Description
    System.Int64 beginMillis

    The stopwatch value in milliseconds when the sample started.

    Properties

    BeginMillis

    Gets the stopwatch value in milliseconds when the sample started.

    Declaration
    public long BeginMillis { get; }
    Property Value
    Type Description
    System.Int64

    EndMillis

    Gets the stopwatch value in milliseconds when the sample stopped.

    Declaration
    public long EndMillis { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    End(Int64)

    Ends the sample.

    Declaration
    public void End(long endMillis)
    Parameters
    Type Name Description
    System.Int64 endMillis

    The stopwatch value in milliseconds when the sample stopped.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0