-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PowerOCR][Telemetry]Cancel and capture events (#20165)
- Loading branch information
1 parent
fcfbb67
commit 76ebed0
Showing
5 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/modules/PowerOCR/PowerOCR/Telemetry/PowerOCRCaptureEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// 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 PowerOCR.Telemetry | ||
{ | ||
[EventData] | ||
public class PowerOCRCaptureEvent : EventBase, IEvent | ||
{ | ||
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage; | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/modules/PowerOCR/PowerOCR/Telemetry/PowerOCRInvokedEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// 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 PowerOCR.Telemetry | ||
{ | ||
[EventData] | ||
public class PowerOCRInvokedEvent : EventBase, IEvent | ||
{ | ||
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServiceUsage; | ||
} | ||
} |