Show / Hide Table of Contents

    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 Source

    FabricTelemetryInitializer(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 Source

    ApplicableServiceContext

    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 Source

    Initialize(ITelemetry)

    Initializes properties of the specified ITelemetry object.

    Declaration
    public void Initialize(ITelemetry telemetry)
    Parameters
    Type Name Description
    ITelemetry telemetry

    The telemetry.

    • View Source
    Back to top Generated by DocFX