Class DiagnosticsData
Data for diagnostics.
Inheritance
System.Object
DiagnosticsData
Namespace: FM.LiveSwitch.Diagnostics
Assembly: FM.LiveSwitch.dll
Syntax
public class DiagnosticsData : object
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 |
---|---|
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 |