/ src / settings-ui / Settings.UI.Library / SndMouseJumpSettings.cs
SndMouseJumpSettings.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 SndMouseJumpSettings
11      {
12          [JsonPropertyName("MouseJump")]
13          public MouseJumpSettings MouseJump { get; set; }
14  
15          public SndMouseJumpSettings()
16          {
17          }
18  
19          public SndMouseJumpSettings(MouseJumpSettings settings)
20          {
21              MouseJump = settings;
22          }
23  
24          public string ToJsonString()
25          {
26              return JsonSerializer.Serialize(this);
27          }
28      }
29  }