public EnvironmentFactory(IManagementEnvironment managementEnvironment, IMessagingEnvironment messagingEnvironment, ITelemetryEnvironment telemetryEnvironment, IQueueEnvironment queueEnvironment) { ManagementEnvironment = managementEnvironment; MessagingEnvironment = messagingEnvironment; TelemetryEnvironment = telemetryEnvironment; QueueEnvironment = queueEnvironment; }
private static void PrepareAdditionalValues(ITelemetryEnvironment telemetryEnvrionment, Dictionary <string, string> result) { if (telemetryEnvrionment.AdditionalSettings != null) { foreach (var item in telemetryEnvrionment.AdditionalSettings) { result.Add(item.Key, item.Value); } } }