PowerToys/src/core/Microsoft.PowerToys.Settings.UI.Lib/SndFancyZonesSettings.cs

28 lines
589 B
C#
Raw Normal View History

2020-04-17 02:45:27 +08:00
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Microsoft.PowerToys.Settings.UI.Lib
{
public class SndFancyZonesSettings
{
public FancyZonesSettings FancyZones { get; set; }
public SndFancyZonesSettings()
{
}
2020-04-17 02:45:27 +08:00
public SndFancyZonesSettings(FancyZonesSettings settings)
{
this.FancyZones = settings;
}
public string ToJsonString()
{
return JsonSerializer.Serialize(this);
}
}
}