The Free Software Media System - Server Backend & API
Merge branch 'master' into images
Bond-009a2490a7ae5c6
diff --cc MediaBrowser.Model/Drawing/ImageDimensions.csindex 4bd8d85d4f,b546dbb254..160be11f07--- a/MediaBrowser.Model/Drawing/ImageDimensions.cs+++ b/MediaBrowser.Model/Drawing/ImageDimensions.cs@@@ -1,29 -1,24 +1,32 @@@+ #pragma warning disable CS1591+ #pragma warning disable SA1600++using System.Globalization;+namespace MediaBrowser.Model.Drawing{/// <summary>- /// Struct ImageDimensions+ /// Struct ImageDimensions./// </summary>- public struct ImageDimensions+ public readonly struct ImageDimensions{+ public ImageDimensions(int width, int height)+ {+ Width = width;+ Height = height;+ }+/// <summary>- /// Gets or sets the height.+ /// Gets the height./// </summary>/// <value>The height.</value>- public int Height { get; set; }+ public int Height { get; }/// <summary>- /// Gets or sets the width.+ /// Gets the width./// </summary>/// <value>The width.</value>- public int Width { get; set; }+ public int Width { get; }public bool Equals(ImageDimensions size){