DeleteEvent.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Diagnostics.CodeAnalysis;
 6  using System.Diagnostics.Tracing;
 7  using Microsoft.PowerToys.Telemetry;
 8  using Microsoft.PowerToys.Telemetry.Events;
 9  
10  namespace WorkspacesEditor.Telemetry
11  {
12      [EventData]
13      [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)]
14      public class DeleteEvent : EventBase, IEvent
15      {
16          public DeleteEvent()
17          {
18              EventName = "Workspaces_DeleteEvent";
19          }
20  
21          public bool Successful { get; set; }
22  
23          public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage;
24      }
25  }