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