mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
27 lines
912 B
C#
27 lines
912 B
C#
|
|
// 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.CodeAnalysis;
|
||
|
|
using System.Diagnostics.Tracing;
|
||
|
|
using Microsoft.PowerToys.Telemetry;
|
||
|
|
using Microsoft.PowerToys.Telemetry.Events;
|
||
|
|
|
||
|
|
namespace Microsoft.PowerToys.Settings.UI.Library.Telemetry.Events
|
||
|
|
{
|
||
|
|
[EventData]
|
||
|
|
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)]
|
||
|
|
public class ModuleLaunchedFromSettingsEvent : EventBase, IEvent
|
||
|
|
{
|
||
|
|
public string ModuleName { get; set; }
|
||
|
|
|
||
|
|
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage;
|
||
|
|
|
||
|
|
public ModuleLaunchedFromSettingsEvent(string moduleName)
|
||
|
|
{
|
||
|
|
EventName = "PowerToys_ModuleLaunchedFromSettings";
|
||
|
|
ModuleName = moduleName;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|