mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +02:00
[telemetry][ColorPicker] add event name support (#10476)
Allow to set a custom name for the event instead of just using the class name.
This commit is contained in:
@@ -12,6 +12,11 @@ namespace ColorPicker.Telemetry
|
||||
[EventData]
|
||||
public class ColorPickerSession : EventBase, IEvent
|
||||
{
|
||||
public ColorPickerSession()
|
||||
{
|
||||
EventName = "ColorPicker_Session";
|
||||
}
|
||||
|
||||
public string StartedAs { get; set; }
|
||||
|
||||
public bool ZoomUsed { get; set; }
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace ColorPicker.Telemetry
|
||||
public ColorPickerSettings(IDictionary<string, bool> editorFormats)
|
||||
{
|
||||
EditorFormats = editorFormats;
|
||||
EventName = "ColorPicker_Settings";
|
||||
}
|
||||
|
||||
public string ActivationShortcut { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user