Adding PowerLauncherTelemetry events

This commit is contained in:
ryanbodrug-microsoft
2020-05-05 08:53:07 -07:00
parent 2b158c2b4e
commit 3a24e4703d
10 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace Microsoft.PowerLauncher.Telemetry
{
/// <summary>
/// ETW event for when a result is actioned.
/// </summary>
[EventData]
public class ResultActionEvent : IEvent
{
public string EventName { get; } = "PowerLauncher_Result_ActionEvent";
public enum TriggerType
{
Click,
KeyboardShortcut
}
public TriggerType Trigger { get; set; }
public string PluginName { get; set; }
public string ActionName { get; set; }
}
}