/ src / modules / cmdpal / Core / Microsoft.CmdPal.Core.ViewModels / Messages / ExtensionInvokedMessage.cs
ExtensionInvokedMessage.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  namespace Microsoft.CmdPal.Core.ViewModels.Messages;
 6  
 7  /// <summary>
 8  /// Message sent when an extension command or page is invoked.
 9  /// Captures extension usage metrics for telemetry tracking.
10  /// </summary>
11  public record ExtensionInvokedMessage(string ExtensionId, string CommandId, string CommandName, bool Success, ulong ExecutionTimeMs);