Esempio n. 1
0
 public static void Metric(this ITelemetryService telemetry, TelemetryEventType type, string message,
                           double value, Dictionary <string, string> properties = null)
 {
     telemetry.Metric(TelemetryEventHelper.GetEvent(type, message), value, properties);
 }
Esempio n. 2
0
 public static void Event(this ITelemetryService telemetry, TelemetryEventType type, string message,
                          Dictionary <string, string> properties = null,
                          Dictionary <string, double> measures   = null)
 {
     telemetry.Event(TelemetryEventHelper.GetEvent(type, message), properties, measures);
 }