2020-04-08 01:19:14 +08:00
|
|
|
|
// 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.Text.Json;
|
2020-04-27 08:34:03 +08:00
|
|
|
|
using System.Text.Json.Serialization;
|
2020-04-08 01:19:14 +08:00
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib
|
|
|
|
|
{
|
|
|
|
|
public class OutGoingGeneralSettings
|
|
|
|
|
{
|
2020-04-27 08:34:03 +08:00
|
|
|
|
[JsonPropertyName("general")]
|
|
|
|
|
public GeneralSettings GeneralSettings { get; set; }
|
2020-04-08 01:19:14 +08:00
|
|
|
|
|
|
|
|
|
public OutGoingGeneralSettings()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OutGoingGeneralSettings(GeneralSettings generalSettings)
|
|
|
|
|
{
|
2020-04-27 08:34:03 +08:00
|
|
|
|
GeneralSettings = generalSettings;
|
2020-04-08 01:19:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return JsonSerializer.Serialize(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-07-23 04:27:17 +08:00
|
|
|
|
}
|