Class FabricTelemetryInitializer
Sets fabric-related properties on the telemetry.
Inheritance
System.Object
FabricTelemetryInitializer
Namespace: Copper.Diagnostics.Common
Assembly: Copper.Diagnostics.Common.dll
Syntax
public class FabricTelemetryInitializer : ITelemetryInitializer
Constructors
View SourceFabricTelemetryInitializer(Dictionary<String, String>)
Initializes a new instance of the FabricTelemetryInitializer class.
Declaration
public FabricTelemetryInitializer(Dictionary<string, string> context)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | context | The context. |
Properties
View SourceApplicableServiceContext
There are a few ways the context could be provided. This property makes it easy for the rest of the implementation to ignore all those cases.
Declaration
public Dictionary<string, string> ApplicableServiceContext { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Methods
View SourceInitialize(ITelemetry)
Initializes properties of the specified
Declaration
public void Initialize(ITelemetry telemetry)
Parameters
Type | Name | Description |
---|---|---|
ITelemetry | telemetry | The telemetry. |