Fix warnings in MediaBrowser.Controller/Drawing

This commit is contained in:
Rich Lander 2021-07-24 20:33:58 -07:00
parent 5a9bd712b3
commit 9aebb86a68
7 changed files with 15 additions and 4 deletions

View file

@ -12,6 +12,8 @@ namespace MediaBrowser.Controller.Chapters
/// <summary> /// <summary>
/// Saves the chapters. /// Saves the chapters.
/// </summary> /// </summary>
/// <param name="itemId">The item.</param>
/// <param name="chapters">The set of chapters.</param>
void SaveChapters(Guid itemId, IReadOnlyList<ChapterInfo> chapters); void SaveChapters(Guid itemId, IReadOnlyList<ChapterInfo> chapters);
} }
} }

View file

@ -1,6 +1,6 @@
#nullable disable #nullable disable
#pragma warning disable CS1591 #pragma warning disable CA2227, CS1591
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;

View file

@ -32,6 +32,7 @@ namespace MediaBrowser.Controller.Collections
/// Creates the collection. /// Creates the collection.
/// </summary> /// </summary>
/// <param name="options">The options.</param> /// <param name="options">The options.</param>
/// <returns>BoxSet wrapped in an awaitable task.</returns>
Task<BoxSet> CreateCollectionAsync(CollectionCreationOptions options); Task<BoxSet> CreateCollectionAsync(CollectionCreationOptions options);
/// <summary> /// <summary>

View file

@ -57,6 +57,15 @@ namespace MediaBrowser.Controller.Drawing
/// <summary> /// <summary>
/// Encode an image. /// Encode an image.
/// </summary> /// </summary>
/// <param name="inputPath">Input path of image.</param>
/// <param name="dateModified">Date modified.</param>
/// <param name="outputPath">Output path of image.</param>
/// <param name="autoOrient">Auto-orient image.</param>
/// <param name="orientation">Desired orientation of image.</param>
/// <param name="quality">Quality of encoded image.</param>
/// <param name="options">Image processing options.</param>
/// <param name="outputFormat">Image format of output.</param>
/// <returns>Path of encoded image.</returns>
string EncodeImage(string inputPath, DateTime dateModified, string outputPath, bool autoOrient, ImageOrientation? orientation, int quality, ImageProcessingOptions options, ImageFormat outputFormat); string EncodeImage(string inputPath, DateTime dateModified, string outputPath, bool autoOrient, ImageOrientation? orientation, int quality, ImageProcessingOptions options, ImageFormat outputFormat);
/// <summary> /// <summary>

View file

@ -1,4 +1,4 @@
#pragma warning disable CS1591 #pragma warning disable CA1711, CS1591
using System; using System;
using System.IO; using System.IO;

View file

@ -1,4 +1,5 @@
#nullable disable #nullable disable
#pragma warning disable CA1002
using System.Collections.Generic; using System.Collections.Generic;
using Jellyfin.Data.Entities; using Jellyfin.Data.Entities;

View file

@ -13,14 +13,12 @@ namespace MediaBrowser.Controller.Security
/// Creates the specified information. /// Creates the specified information.
/// </summary> /// </summary>
/// <param name="info">The information.</param> /// <param name="info">The information.</param>
/// <returns>Task.</returns>
void Create(AuthenticationInfo info); void Create(AuthenticationInfo info);
/// <summary> /// <summary>
/// Updates the specified information. /// Updates the specified information.
/// </summary> /// </summary>
/// <param name="info">The information.</param> /// <param name="info">The information.</param>
/// <returns>Task.</returns>
void Update(AuthenticationInfo info); void Update(AuthenticationInfo info);
/// <summary> /// <summary>