diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-11-09 14:46:13 -0500 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2023-11-15 20:53:50 -0500 |
| commit | a8c55ae8fec58b3aacd1cf311a8ac9c2dda503ff (patch) | |
| tree | 9df9c8d8c82512e7af3a8152ce47e959f86676a8 /RSSDP/SsdpEmbeddedDevice.cs | |
| parent | f1aba6b95230474d47c580071370c7dbd00eba13 (diff) | |
Remove RSSDP
Diffstat (limited to 'RSSDP/SsdpEmbeddedDevice.cs')
| -rw-r--r-- | RSSDP/SsdpEmbeddedDevice.cs | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/RSSDP/SsdpEmbeddedDevice.cs b/RSSDP/SsdpEmbeddedDevice.cs deleted file mode 100644 index f1a598111..000000000 --- a/RSSDP/SsdpEmbeddedDevice.cs +++ /dev/null @@ -1,40 +0,0 @@ -namespace Rssdp -{ - /// <summary> - /// Represents a device that is a descendant of a <see cref="SsdpRootDevice"/> instance. - /// </summary> - public class SsdpEmbeddedDevice : SsdpDevice - { - private SsdpRootDevice _RootDevice; - - /// <summary> - /// Default constructor. - /// </summary> - public SsdpEmbeddedDevice() - { - } - - /// <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; - } - } - } - } - } -} |
