mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
26 lines
605 B
C#
26 lines
605 B
C#
|
|
using System.Text.Json;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
|
|||
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib
|
|||
|
|
{
|
|||
|
|
public class GeneralSettingsCustomAction
|
|||
|
|
{
|
|||
|
|
[JsonPropertyName("action")]
|
|||
|
|
public OutGoingGeneralSettings GeneralSettingsAction { get; set; }
|
|||
|
|
|
|||
|
|
public GeneralSettingsCustomAction()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public GeneralSettingsCustomAction(OutGoingGeneralSettings action)
|
|||
|
|
{
|
|||
|
|
GeneralSettingsAction = action;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public override string ToString()
|
|||
|
|
{
|
|||
|
|
return JsonSerializer.Serialize(this);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|