mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 03:03:40 +01:00
Enable TreatWarningsAsErrors for Emby.Data in Release
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
@@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities
|
||||
/// </summary>
|
||||
/// <param name="urlid"></param>
|
||||
/// <param name="name"></param>
|
||||
/// <param name="dateadded">The date the object was added.</param>
|
||||
/// <param name="datemodified">The date the object was last modified.</param>
|
||||
public Person(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
||||
{
|
||||
this.UrlId = urlid;
|
||||
@@ -53,6 +57,8 @@ namespace Jellyfin.Data.Entities
|
||||
/// </summary>
|
||||
/// <param name="urlid"></param>
|
||||
/// <param name="name"></param>
|
||||
/// <param name="dateadded">The date the object was added.</param>
|
||||
/// <param name="datemodified">The date the object was last modified.</param>
|
||||
public static Person Create(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
||||
{
|
||||
return new Person(urlid, name, dateadded, datemodified);
|
||||
|
||||
Reference in New Issue
Block a user