mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Remove tabs and trailing whitespace
This commit is contained in:
@@ -4,54 +4,52 @@ using System.Text;
|
||||
|
||||
namespace Rssdp
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a device that is a descendant of a <see cref="SsdpRootDevice"/> instance.
|
||||
/// </summary>
|
||||
public class SsdpEmbeddedDevice : SsdpDevice
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a device that is a descendant of a <see cref="SsdpRootDevice"/> instance.
|
||||
/// </summary>
|
||||
public class SsdpEmbeddedDevice : SsdpDevice
|
||||
{
|
||||
|
||||
#region Fields
|
||||
|
||||
private SsdpRootDevice _RootDevice;
|
||||
#region Fields
|
||||
private SsdpRootDevice _RootDevice;
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Default constructor.
|
||||
/// </summary>
|
||||
public SsdpEmbeddedDevice()
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Default constructor.
|
||||
/// </summary>
|
||||
public SsdpEmbeddedDevice()
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region Public Properties
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Returns the <see cref="SsdpRootDevice"/> that is this device's first ancestor. If this device is itself an <see cref="SsdpRootDevice"/>, then returns a reference to itself.
|
||||
/// </summary>
|
||||
public SsdpRootDevice RootDevice
|
||||
{
|
||||
get
|
||||
{
|
||||
return _RootDevice;
|
||||
}
|
||||
internal set
|
||||
{
|
||||
_RootDevice = value;
|
||||
lock (this.Devices)
|
||||
{
|
||||
foreach (var embeddedDevice in this.Devices)
|
||||
{
|
||||
((SsdpEmbeddedDevice)embeddedDevice).RootDevice = _RootDevice;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Returns the <see cref="SsdpRootDevice"/> that is this device's first ancestor. If this device is itself an <see cref="SsdpRootDevice"/>, then returns a reference to itself.
|
||||
/// </summary>
|
||||
public SsdpRootDevice RootDevice
|
||||
{
|
||||
get
|
||||
{
|
||||
return _RootDevice;
|
||||
}
|
||||
internal set
|
||||
{
|
||||
_RootDevice = value;
|
||||
lock (this.Devices)
|
||||
{
|
||||
foreach (var embeddedDevice in this.Devices)
|
||||
{
|
||||
((SsdpEmbeddedDevice)embeddedDevice).RootDevice = _RootDevice;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user