mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-26 18:58:29 +08: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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|