public LmiWebhookHttpTrigger(
     ILogger <LmiWebhookHttpTrigger> logger,
     ILmiWebhookReceiverService lmiWebhookReceiverService)
 {
     this.logger = logger;
     this.lmiWebhookReceiverService = lmiWebhookReceiverService;
 }
 public LmiWebhookHttpTrigger(
     ILogger <LmiWebhookHttpTrigger> logger,
     EnvironmentValues environmentValues,
     ILmiWebhookReceiverService lmiWebhookReceiverService)
 {
     this.logger                    = logger;
     this.environmentValues         = environmentValues;
     this.lmiWebhookReceiverService = lmiWebhookReceiverService;
 }
        public LmiWebhookHttpTrigger(
            ILogger <LmiWebhookHttpTrigger> logger,
            ILmiWebhookReceiverService lmiWebhookReceiverService)
        {
            this.logger = logger;
            this.lmiWebhookReceiverService = lmiWebhookReceiverService;

            //TODO: ian: need to initialize the telemetry properly
            Activity?activity = null;

            if (Activity.Current == null)
            {
                activity = new Activity(nameof(LmiWebhookHttpTrigger)).Start();
                activity.SetParentId(Guid.NewGuid().ToString());
            }
        }