2025-03-20 21:36:58 +01:00
|
|
|
|
// 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;
|
|
|
|
|
|
using Microsoft.PowerToys.Telemetry;
|
|
|
|
|
|
using Microsoft.PowerToys.Telemetry.Events;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.CmdPal.UI.Events;
|
|
|
|
|
|
|
|
|
|
|
|
[EventData]
|
|
|
|
|
|
public class OpenPage : EventBase, IEvent
|
|
|
|
|
|
{
|
|
|
|
|
|
public int PageDepth { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public OpenPage(int pageDepth)
|
|
|
|
|
|
{
|
|
|
|
|
|
PageDepth = pageDepth;
|
2025-05-13 12:24:26 -05:00
|
|
|
|
|
|
|
|
|
|
EventName = "CmdPal_OpenPage";
|
2025-03-20 21:36:58 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage;
|
|
|
|
|
|
}
|