Enable TreatWarningsAsErrors for Emby.Data in Release

This commit is contained in:
Bond_009
2020-08-22 23:29:54 +02:00
parent 92c491397e
commit 4243a17c86
51 changed files with 169 additions and 4 deletions

View File

@@ -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);