mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 19:38:26 +01:00
Reduce warnings in Emby.Dlna
This commit is contained in:
@@ -24,16 +24,6 @@ namespace Emby.Dlna.PlayTo
|
||||
|
||||
public string UpnpClass { get; set; }
|
||||
|
||||
public bool Equals(uBaseObject obj)
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
}
|
||||
|
||||
return string.Equals(Id, obj.Id);
|
||||
}
|
||||
|
||||
public string MediaType
|
||||
{
|
||||
get
|
||||
@@ -58,5 +48,15 @@ namespace Emby.Dlna.PlayTo
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public bool Equals(uBaseObject obj)
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(obj));
|
||||
}
|
||||
|
||||
return string.Equals(Id, obj.Id, StringComparison.InvariantCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user