update TelemetryConfig setup
This commit is contained in:
Родитель
09c1283f69
Коммит
6084c4f84e
|
@ -37,8 +37,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
|||
IEnumerable<ITelemetryInitializer> initializers,
|
||||
IEnumerable<ITelemetryModule> modules,
|
||||
IEnumerable<ITelemetryProcessorFactory> telemetryProcessorFactories,
|
||||
IEnumerable<ITelemetryModuleConfigurator> telemetryModuleConfigurators,
|
||||
IApplicationIdProvider applicationIdProvider)
|
||||
IEnumerable<ITelemetryModuleConfigurator> telemetryModuleConfigurators)
|
||||
{
|
||||
this.applicationInsightsServiceOptions = applicationInsightsServiceOptions.Value;
|
||||
this.initializers = initializers;
|
||||
|
@ -46,7 +45,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
|||
this.telemetryProcessorFactories = telemetryProcessorFactories;
|
||||
this.telemetryModuleConfigurators = telemetryModuleConfigurators;
|
||||
this.telemetryChannel = serviceProvider.GetService<ITelemetryChannel>();
|
||||
this.applicationIdProvider = applicationIdProvider;
|
||||
this.applicationIdProvider = serviceProvider.GetService<IApplicationIdProvider>();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
Загрузка…
Ссылка в новой задаче