diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-05 19:53:50 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-02-05 19:53:50 +0100 |
| commit | e216702bcfdf3d6a90f59e11984098990f069043 (patch) | |
| tree | dbfc1809d2d09d08ed70161adb166a1faa3f5c73 /MediaBrowser.Model/Drawing/ImageSize.cs | |
| parent | 0ef2b46106937c8acbab8e2a6a1e08affb823d31 (diff) | |
Complete rename ImageSize -> ImageDimensions
Diffstat (limited to 'MediaBrowser.Model/Drawing/ImageSize.cs')
| -rw-r--r-- | MediaBrowser.Model/Drawing/ImageSize.cs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/MediaBrowser.Model/Drawing/ImageSize.cs b/MediaBrowser.Model/Drawing/ImageSize.cs deleted file mode 100644 index 75591d83d..000000000 --- a/MediaBrowser.Model/Drawing/ImageSize.cs +++ /dev/null @@ -1,36 +0,0 @@ -namespace MediaBrowser.Model.Drawing -{ - /// <summary> - /// Struct ImageSize - /// </summary> - public struct ImageDimensions - { - /// <summary> - /// Gets or sets the height. - /// </summary> - /// <value>The height.</value> - public int Height { get; set; } - - /// <summary> - /// Gets or sets the width. - /// </summary> - /// <value>The width.</value> - 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; - } - } -} |
