mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
31 lines
775 B
C#
31 lines
775 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.Text.Json;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
using Settings.UI.Library;
|
|||
|
|
|
|||
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|||
|
|
{
|
|||
|
|
public class SndLightSwitchSettings
|
|||
|
|
{
|
|||
|
|
[JsonPropertyName("LightSwitch")]
|
|||
|
|
public LightSwitchSettings Settings { get; set; }
|
|||
|
|
|
|||
|
|
public SndLightSwitchSettings()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public SndLightSwitchSettings(LightSwitchSettings settings)
|
|||
|
|
{
|
|||
|
|
Settings = settings;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string ToJsonString()
|
|||
|
|
{
|
|||
|
|
return JsonSerializer.Serialize(this);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|