mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
27 lines
661 B
C#
27 lines
661 B
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|