mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-02 22:08:27 +01:00
ReSharper conform to 'var' settings
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Emby.Drawing.Common
|
||||
/// </summary>
|
||||
/// <param name="binaryReader">The binary reader.</param>
|
||||
/// <returns>Size.</returns>
|
||||
/// <exception cref="System.ArgumentException">binaryReader</exception>
|
||||
/// <exception cref="ArgumentException">binaryReader</exception>
|
||||
/// <exception cref="ArgumentException">The image was of an unrecognized format.</exception>
|
||||
private static ImageSize GetDimensions(BinaryReader binaryReader)
|
||||
{
|
||||
@@ -200,7 +200,7 @@ namespace Emby.Drawing.Common
|
||||
/// </summary>
|
||||
/// <param name="binaryReader">The binary reader.</param>
|
||||
/// <returns>Size.</returns>
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="ArgumentException"></exception>
|
||||
private static ImageSize DecodeJfif(BinaryReader binaryReader)
|
||||
{
|
||||
// A JPEG image consists of a sequence of segments,
|
||||
|
||||
@@ -491,7 +491,7 @@ namespace Emby.Drawing
|
||||
/// <param name="item">The item.</param>
|
||||
/// <param name="image">The image.</param>
|
||||
/// <returns>Guid.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">item</exception>
|
||||
/// <exception cref="ArgumentNullException">item</exception>
|
||||
public string GetImageCacheTag(BaseItem item, ItemImageInfo image)
|
||||
{
|
||||
var supportedEnhancers = GetSupportedEnhancers(item, image.Type);
|
||||
@@ -523,7 +523,7 @@ namespace Emby.Drawing
|
||||
/// <param name="image">The image.</param>
|
||||
/// <param name="imageEnhancers">The image enhancers.</param>
|
||||
/// <returns>Guid.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">item</exception>
|
||||
/// <exception cref="ArgumentNullException">item</exception>
|
||||
public string GetImageCacheTag(BaseItem item, ItemImageInfo image, IImageEnhancer[] imageEnhancers)
|
||||
{
|
||||
var originalImagePath = image.Path;
|
||||
@@ -744,7 +744,7 @@ namespace Emby.Drawing
|
||||
/// <param name="uniqueName">Name of the unique.</param>
|
||||
/// <param name="fileExtension">The file extension.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// path
|
||||
/// or
|
||||
/// uniqueName
|
||||
@@ -778,7 +778,7 @@ namespace Emby.Drawing
|
||||
/// <param name="path">The path.</param>
|
||||
/// <param name="filename">The filename.</param>
|
||||
/// <returns>System.String.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// path
|
||||
/// or
|
||||
/// filename
|
||||
|
||||
Reference in New Issue
Block a user