mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 05:18:27 +01:00
fix SA1513/SA1516
This commit is contained in:
@@ -45,6 +45,7 @@ namespace Rssdp
|
||||
public DateTimeOffset AsAt
|
||||
{
|
||||
get { return _AsAt; }
|
||||
|
||||
set
|
||||
{
|
||||
if (_AsAt != value)
|
||||
|
||||
@@ -135,6 +135,7 @@ namespace Rssdp.Infrastructure
|
||||
|
||||
ParseHeader(line, headers, contentHeaders);
|
||||
}
|
||||
|
||||
return lineIndex;
|
||||
}
|
||||
|
||||
|
||||
@@ -311,6 +311,7 @@ namespace Rssdp.Infrastructure
|
||||
public bool IsShared
|
||||
{
|
||||
get { return _IsShared; }
|
||||
|
||||
set { _IsShared = value; }
|
||||
}
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ namespace Rssdp
|
||||
{
|
||||
return _DeviceType;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_DeviceType = value;
|
||||
@@ -111,6 +112,7 @@ namespace Rssdp
|
||||
{
|
||||
return _DeviceTypeNamespace;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_DeviceTypeNamespace = value;
|
||||
@@ -130,6 +132,7 @@ namespace Rssdp
|
||||
{
|
||||
return _DeviceVersion;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_DeviceVersion = value;
|
||||
@@ -181,6 +184,7 @@ namespace Rssdp
|
||||
else
|
||||
return _Udn;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Udn = value;
|
||||
|
||||
@@ -579,6 +579,7 @@ namespace Rssdp.Infrastructure
|
||||
return d;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -156,6 +156,7 @@ namespace Rssdp.Infrastructure
|
||||
public bool SupportPnpRootDevice
|
||||
{
|
||||
get { return _SupportPnpRootDevice; }
|
||||
|
||||
set
|
||||
{
|
||||
_SupportPnpRootDevice = value;
|
||||
@@ -564,7 +565,9 @@ namespace Rssdp.Infrastructure
|
||||
private class SearchRequest
|
||||
{
|
||||
public IPEndPoint EndPoint { get; set; }
|
||||
|
||||
public DateTime Received { get; set; }
|
||||
|
||||
public string SearchTarget { get; set; }
|
||||
|
||||
public string Key
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace Rssdp
|
||||
{
|
||||
return _RootDevice;
|
||||
}
|
||||
|
||||
internal set
|
||||
{
|
||||
_RootDevice = value;
|
||||
|
||||
Reference in New Issue
Block a user