aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpEmbeddedDevice.cs
diff options
context:
space:
mode:
authorhawken <hawken@thehawken.org>2019-01-07 23:24:34 +0000
committerhawken <hawken@thehawken.org>2019-01-07 23:24:34 +0000
commitba1794f64bb1959b3af0fbbddca57df14a5544a9 (patch)
tree8edc7dec5be3beb793ab00305f222fe15f2a52e7 /RSSDP/SsdpEmbeddedDevice.cs
parent4ab82f7436b80359ef4c5f08027b309d1e1cf3b0 (diff)
Remove tabs and trailing whitespace
Diffstat (limited to 'RSSDP/SsdpEmbeddedDevice.cs')
-rw-r--r--RSSDP/SsdpEmbeddedDevice.cs100
1 files changed, 49 insertions, 51 deletions
diff --git a/RSSDP/SsdpEmbeddedDevice.cs b/RSSDP/SsdpEmbeddedDevice.cs
index dca1ff5e3..0e02ce33c 100644
--- a/RSSDP/SsdpEmbeddedDevice.cs
+++ b/RSSDP/SsdpEmbeddedDevice.cs
@@ -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
- {
-
- #region Fields
-
- private SsdpRootDevice _RootDevice;
-
- #endregion
-
- #region Constructors
-
- /// <summary>
- /// Default constructor.
- /// </summary>
- public SsdpEmbeddedDevice()
- {
- }
-
- #endregion
-
- #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;
- }
- }
- }
- }
-
- #endregion
-
- }
-} \ No newline at end of file
+ /// <summary>
+ /// Represents a device that is a descendant of a <see cref="SsdpRootDevice"/> instance.
+ /// </summary>
+ public class SsdpEmbeddedDevice : SsdpDevice
+ {
+
+ #region Fields
+ private SsdpRootDevice _RootDevice;
+
+ #endregion
+
+ #region Constructors
+
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
+ public SsdpEmbeddedDevice()
+ {
+ }
+
+ #endregion
+
+ #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;
+ }
+ }
+ }
+ }
+
+ #endregion
+ }
+}