Show / Hide Table of Contents

    Class DiagnosticsCommonServiceCollectionExtensions

    extensions.

    Inheritance
    System.Object
    DiagnosticsCommonServiceCollectionExtensions
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Copper.Diagnostics.Common.dll
    Syntax
    public static class DiagnosticsCommonServiceCollectionExtensions

    Methods

    View Source

    AddCopperConfiguredApplicationInsights(IServiceCollection, String)

    Adds application insights configured for Copper.

    Declaration
    public static void AddCopperConfiguredApplicationInsights(this IServiceCollection serviceCollection, string instrumentationKey = null)
    Parameters
    Type Name Description
    IServiceCollection serviceCollection

    The service collection.

    System.String instrumentationKey

    The instrumentation key.

    • View Source
    Back to top Generated by DocFX