SndMouseHighlighterSettings.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Text.Json; 6 using System.Text.Json.Serialization; 7 8 namespace Microsoft.PowerToys.Settings.UI.Library 9 { 10 public class SndMouseHighlighterSettings 11 { 12 [JsonPropertyName("MouseHighlighter")] 13 public MouseHighlighterSettings MouseHighlighter { get; set; } 14 15 public SndMouseHighlighterSettings() 16 { 17 } 18 19 public SndMouseHighlighterSettings(MouseHighlighterSettings settings) 20 { 21 MouseHighlighter = settings; 22 } 23 24 public string ToJsonString() 25 { 26 return JsonSerializer.Serialize(this); 27 } 28 } 29 }