mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-24 00:48:00 +08:00
1e0033166f
* Adds the GcodeThumbnailProvider * Registers the GcodeThumbnailProvider * Adds Settings support * Reverts solution changes back to original * Corrects "Gcode" text with "G-code" * Adds gcode thumbnail setting description * Follow up on PR review comments * Adds GcodePreviewHandler * Follow up on PR review comments * Renames assemblies following #14903
26 lines
877 B
C#
26 lines
877 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.Tracing;
|
|
using Microsoft.PowerToys.Telemetry;
|
|
using Microsoft.PowerToys.Telemetry.Events;
|
|
|
|
namespace Microsoft.PowerToys.PreviewHandler.Gcode.Telemetry.Events
|
|
{
|
|
/// <summary>
|
|
/// A telemetry event to be raised when an error has occurred in the preview pane.
|
|
/// </summary>
|
|
[EventData]
|
|
public class GcodeFilePreviewError : EventBase, IEvent
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the error message to log as part of the telemetry event.
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <inheritdoc/>
|
|
public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance;
|
|
}
|
|
}
|