mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 21:41:51 +02:00
Removing unecceary EventName requirement. EventSource<T>.Write will use the type name of T if null is passed in. This saves us passing an extra string uneccesarily as the public property would be serialized into the event data as well as being specified as the EventName
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Diagnostics.Tracing;
|
||||
|
||||
namespace Microsoft.PowerLauncher.Telemetry
|
||||
{
|
||||
/// <summary>
|
||||
/// ETW event for when a result is actioned.
|
||||
/// </summary>
|
||||
[EventData]
|
||||
public class LauncherResultActionEvent
|
||||
{
|
||||
|
||||
public enum TriggerType
|
||||
{
|
||||
Click,
|
||||
KeyboardShortcut
|
||||
}
|
||||
|
||||
public string Trigger { get; set; }
|
||||
public string PluginName { get; set; }
|
||||
public string ActionName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user