mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-26 10:48:23 +08:00
b428fc97e9
* fixed run-elevated error and powerpreview settings not working * removed EXTENDED_STARTUPINFO_PRESENT flag * removed test string * Update Microsoft.PowerToys.Settings.UnitTest.csproj * Rename PowerLauncher.cs to PowerLauncherViewModelTest.cs
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);
|
|
}
|
|
}
|
|
}
|