SettingsWrapper.cs
1 #pragma warning disable IDE0073 2 // Copyright (c) Brice Lambson 3 // The Brice Lambson licenses this file to you under the MIT license. 4 // See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/ 5 #pragma warning restore IDE0073 6 7 using System.Text.Json.Serialization; 8 9 namespace ImageResizer.Properties 10 { 11 public class SettingsWrapper 12 { 13 [JsonPropertyName("name")] 14 public string Name { get; set; } = "Image Resizer"; 15 16 [JsonPropertyName("version")] 17 public string Version { get; set; } = "1"; 18 19 [JsonPropertyName("properties")] 20 public Settings Properties { get; set; } 21 } 22 }