Example #1
0
 public EnvironmentFactory(IManagementEnvironment managementEnvironment, IMessagingEnvironment messagingEnvironment, ITelemetryEnvironment telemetryEnvironment, IQueueEnvironment queueEnvironment)
 {
     ManagementEnvironment = managementEnvironment;
     MessagingEnvironment  = messagingEnvironment;
     TelemetryEnvironment  = telemetryEnvironment;
     QueueEnvironment      = queueEnvironment;
 }
Example #2
0
 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);
         }
     }
 }