mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Settings telemetry for PT Run (#10328)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Diagnostics.Tracing;
|
||||
|
||||
namespace PowerLauncher.Telemetry.Events
|
||||
{
|
||||
[EventData]
|
||||
public class PluginModel
|
||||
{
|
||||
public bool Disabled { get; set; }
|
||||
|
||||
public bool IsGlobal { get; set; }
|
||||
|
||||
public string ActionKeyword { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.Tracing;
|
||||
using Microsoft.PowerToys.Telemetry;
|
||||
using Microsoft.PowerToys.Telemetry.Events;
|
||||
|
||||
namespace PowerLauncher.Telemetry.Events
|
||||
{
|
||||
[EventData]
|
||||
public class RunPluginsSettingsEvent : EventBase, IEvent
|
||||
{
|
||||
public RunPluginsSettingsEvent(IDictionary<string, PluginModel> pluginManager)
|
||||
{
|
||||
PluginManager = pluginManager;
|
||||
}
|
||||
|
||||
public IDictionary<string, PluginModel> PluginManager { get; private set; }
|
||||
|
||||
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user