#pragma warning disable CS1591 #pragma warning disable SA1600 namespace MediaBrowser.Model.Drawing { /// /// Struct ImageDimensions. /// public struct ImageDimensions { /// /// Gets or sets the height. /// /// The height. public int Height { get; set; } /// /// Gets or sets the width. /// /// The width. public int Width { get; set; } public bool Equals(ImageDimensions size) { return Width.Equals(size.Width) && Height.Equals(size.Height); } public override string ToString() { return string.Format("{0}-{1}", Width, Height); } public ImageDimensions(int width, int height) { Width = width; Height = height; } } }