aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpEmbeddedDevice.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-11-30 17:40:06 +0100
committerGitHub <noreply@github.com>2023-11-30 17:40:06 +0100
commitcc276838b4edbb67356b805952262c38e9c9cd19 (patch)
tree8cb27ed0ba34fdd2d941f43c09ccc2be70c10abb /RSSDP/SsdpEmbeddedDevice.cs
parentcf80ea25413b75bbeddaef136fbeee33aa882a60 (diff)
parente46e3be667c76ff9a242d7499aff83d2d10881ed (diff)
Merge pull request #10558 from barronpm/dlna-plugin2
Move DLNA to Plugin (Part 2)
Diffstat (limited to 'RSSDP/SsdpEmbeddedDevice.cs')
-rw-r--r--RSSDP/SsdpEmbeddedDevice.cs40
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;
- }
- }
- }
- }
- }
-}