Fix warnings MediaBrowser.Model

This commit is contained in:
Bond_009
2020-02-04 01:49:27 +01:00
parent 176e850973
commit f47ad85011
290 changed files with 1132 additions and 290 deletions

View File

@@ -3,19 +3,19 @@ using System;
namespace MediaBrowser.Model.Drawing
{
/// <summary>
/// Class DrawingUtils
/// Class DrawingUtils.
/// </summary>
public static class DrawingUtils
{
/// <summary>
/// Resizes a set of dimensions
/// Resizes a set of dimensions.
/// </summary>
/// <param name="size">The original size object</param>
/// <param name="width">A new fixed width, if desired</param>
/// <param name="height">A new fixed height, if desired</param>
/// <param name="maxWidth">A max fixed width, if desired</param>
/// <param name="maxHeight">A max fixed height, if desired</param>
/// <returns>A new size object</returns>
/// <param name="size">The original size object.</param>
/// <param name="width">A new fixed width, if desired.</param>
/// <param name="height">A new fixed height, if desired.</param>
/// <param name="maxWidth">A max fixed width, if desired.</param>
/// <param name="maxHeight">A max fixed height, if desired.</param>
/// <returns>A new size object.</returns>
public static ImageDimensions Resize(ImageDimensions size,
int width,
int height,

View File

@@ -1,7 +1,10 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Drawing
{
/// <summary>
/// Struct ImageDimensions
/// Struct ImageDimensions.
/// </summary>
public struct ImageDimensions
{

View File

@@ -1,28 +1,32 @@
namespace MediaBrowser.Model.Drawing
{
/// <summary>
/// Enum ImageOutputFormat
/// Enum ImageOutputFormat.
/// </summary>
public enum ImageFormat
{
/// <summary>
/// The BMP
/// The BMP.
/// </summary>
Bmp,
/// <summary>
/// The GIF
/// The GIF.
/// </summary>
Gif,
/// <summary>
/// The JPG
/// The JPG.
/// </summary>
Jpg,
/// <summary>
/// The PNG
/// The PNG.
/// </summary>
Png,
/// <summary>
/// The webp
/// The webp.
/// </summary>
Webp
}

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Drawing
{
public enum ImageOrientation