mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 08:23:28 -03:00
Applied review comments
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
#pragma warning disable CA2227 // Collection properties should be read only
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
@@ -5,9 +8,6 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
#pragma warning disable CA2227 // Collection properties should be read only
|
||||
|
||||
public class BaseItemEntity
|
||||
{
|
||||
public required Guid Id { get; set; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma warning disable CS1591
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
#pragma warning disable CS1591
|
||||
public enum BaseItemExtraType
|
||||
{
|
||||
Unknown = 0,
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#pragma warning disable CA2227
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
#pragma warning disable CA2227
|
||||
|
||||
/// <summary>
|
||||
/// Enum TrailerTypes.
|
||||
@@ -39,11 +40,12 @@ public class BaseItemImageInfo
|
||||
/// </summary>
|
||||
public int Height { get; set; }
|
||||
|
||||
#pragma warning disable CA1819
|
||||
#pragma warning disable CA1819 // Properties should not return arrays
|
||||
/// <summary>
|
||||
/// Gets or Sets the blurhash.
|
||||
/// </summary>
|
||||
public byte[]? Blurhash { get; set; }
|
||||
#pragma warning restore CA1819
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the reference id to the BaseItem.
|
||||
|
||||
@@ -10,9 +10,7 @@ public enum ItemValueType
|
||||
/// <summary>
|
||||
/// Artists.
|
||||
/// </summary>
|
||||
#pragma warning disable CA1008 // Enums should have zero value. Cannot apply here.
|
||||
Artist = 0,
|
||||
#pragma warning restore CA1008 // Enums should have zero value
|
||||
|
||||
/// <summary>
|
||||
/// Album.
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
public class MediaStreamInfo
|
||||
{
|
||||
public required Guid ItemId { get; set; }
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#pragma warning disable CA2227 // Collection properties should be read only
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
#pragma warning disable CA2227 // Collection properties should be read only
|
||||
|
||||
/// <summary>
|
||||
/// People entity.
|
||||
|
||||
Reference in New Issue
Block a user