/ src / settings-ui / Settings.UI.Library / FileLocksmithProperties.cs
FileLocksmithProperties.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 FileLocksmithProperties
11      {
12          public FileLocksmithProperties()
13          {
14              ExtendedContextMenuOnly = new BoolProperty(false);
15          }
16  
17          [JsonPropertyName("bool_show_extended_menu")]
18          public BoolProperty ExtendedContextMenuOnly { get; set; }
19  
20          public override string ToString() => JsonSerializer.Serialize(this, SettingsSerializationContext.Default.FileLocksmithProperties);
21      }
22  }