Search Results for

    Show / Hide Table of Contents

    Class DiagnosticsData

    Data for diagnostics.

    Inheritance
    System.Object
    DiagnosticsData
    Inherited Members
    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 DiagnosticsData

    Constructors

    DiagnosticsData(String)

    Constructor.

    Declaration
    public DiagnosticsData(string componentName)
    Parameters
    Type Name Description
    System.String componentName

    Properties

    ComponentName

    Gets the name of the component the data is from

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

    Data

    Gets the diagnostic data.

    Declaration
    public Dictionary<string, object> Data { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.Object>

    Methods

    Add(String, Object)

    Add a named value.

    Declaration
    public void Add(string name, object value)
    Parameters
    Type Name Description
    System.String name
    System.Object value

    ToString()

    Serialize DiagnosticsData to a string.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.24.3