Class CopperTelemetryConfigurationOptionsSetup
Configures the options for a
Inheritance
System.Object
CopperTelemetryConfigurationOptionsSetup
Namespace: Copper.Diagnostics.Common.Logging
Assembly: Copper.Diagnostics.Common.dll
Syntax
public class CopperTelemetryConfigurationOptionsSetup : IConfigureOptions<TelemetryConfiguration>
Constructors
View SourceCopperTelemetryConfigurationOptionsSetup(IEnumerable<ITelemetryInitializer>, IEnumerable<ITelemetryModule>, IConfiguration)
Initializes a new instance of the CopperTelemetryConfigurationOptionsSetup class.
Declaration
public CopperTelemetryConfigurationOptionsSetup(IEnumerable<ITelemetryInitializer> telemetryInitializers, IEnumerable<ITelemetryModule> telemetryModules, IConfiguration configuration = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ITelemetryInitializer> | telemetryInitializers | The telemetry initializers. |
System.Collections.Generic.IEnumerable<ITelemetryModule> | telemetryModules | The telemetry modules. |
IConfiguration | configuration | The configuration. |
Methods
View SourceConfigure(TelemetryConfiguration)
Configures the specified telemetry configuration.
Declaration
public void Configure(TelemetryConfiguration telemetryConfiguration)
Parameters
Type | Name | Description |
---|---|---|
TelemetryConfiguration | telemetryConfiguration | The telemetry configuration. |