public static void EmitEvent(TelemetryServiceHelper telemetryHelper, string eventName, double duration)
 {
     if (telemetryHelper != null)
     {
         telemetryHelper.AddTelemetryEvent(eventName, duration);
     }
 }
 public static void EmitEvent(TelemetryServiceHelper telemetryHelper, string eventName)
 {
     if (telemetryHelper != null)
     {
         telemetryHelper.StopTimer();
         telemetryHelper.AddTelemetryEvent(eventName);
     }
 }