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;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib
|
|
|
|
|
{
|
|
|
|
|
public class SndPowerPreviewSettings
|
|
|
|
|
{
|
2020-05-03 18:17:06 +08:00
|
|
|
|
[JsonPropertyName("File Explorer")]
|
|
|
|
|
public PowerPreviewSettings FileExplorerPreviewSettings { get; set; }
|
|
|
|
|
|
|
|
|
|
public SndPowerPreviewSettings()
|
|
|
|
|
{
|
|
|
|
|
}
|
2020-04-08 01:19:14 +08:00
|
|
|
|
|
|
|
|
|
public SndPowerPreviewSettings(PowerPreviewSettings settings)
|
|
|
|
|
{
|
2020-05-03 18:17:06 +08:00
|
|
|
|
FileExplorerPreviewSettings = settings;
|
2020-04-08 01:19:14 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ToJsonString()
|
|
|
|
|
{
|
|
|
|
|
return JsonSerializer.Serialize(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|