Show / Hide Table of Contents

    Class CategoryNameTelemetryInitializer

    Sets a global property called 'CategoryName' with the service type name on the telemetry.

    Inheritance
    System.Object
    CategoryNameTelemetryInitializer
    Namespace: Copper.Diagnostics.Service
    Assembly: Copper.Diagnostics.Service.dll
    Syntax
    public class CategoryNameTelemetryInitializer : ITelemetryInitializer

    Constructors

    View Source

    CategoryNameTelemetryInitializer(IServiceContextProvider)

    Initializes a new instance of the CategoryNameTelemetryInitializer class.

    Declaration
    public CategoryNameTelemetryInitializer(IServiceContextProvider serviceContextProvider)
    Parameters
    Type Name Description
    IServiceContextProvider serviceContextProvider

    The service context provider.

    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