ImageresizerCustomSizeProperty.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.Serialization; 6 7 namespace Microsoft.PowerToys.Settings.UI.Library 8 { 9 public class ImageResizerCustomSizeProperty 10 { 11 [JsonPropertyName("value")] 12 public ImageSize Value { get; set; } 13 14 public ImageResizerCustomSizeProperty() 15 { 16 Value = new ImageSize(); 17 } 18 19 public ImageResizerCustomSizeProperty(ImageSize value) 20 { 21 Value = value; 22 } 23 } 24 }