aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/DeviceEventArgs.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/DeviceEventArgs.cs
parentcf80ea25413b75bbeddaef136fbeee33aa882a60 (diff)
parente46e3be667c76ff9a242d7499aff83d2d10881ed (diff)
Merge pull request #10558 from barronpm/dlna-plugin2
Move DLNA to Plugin (Part 2)
Diffstat (limited to 'RSSDP/DeviceEventArgs.cs')
-rw-r--r--RSSDP/DeviceEventArgs.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/RSSDP/DeviceEventArgs.cs b/RSSDP/DeviceEventArgs.cs
deleted file mode 100644
index 2455ccbfa..000000000
--- a/RSSDP/DeviceEventArgs.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using System;
-
-namespace Rssdp
-{
- /// <summary>
- /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
- /// </summary>
- public sealed class DeviceEventArgs : EventArgs
- {
- private readonly SsdpDevice _Device;
-
- /// <summary>
- /// Constructs a new instance for the specified <see cref="SsdpDevice"/>.
- /// </summary>
- /// <param name="device">The <see cref="SsdpDevice"/> associated with the event this argument class is being used for.</param>
- /// <exception cref="ArgumentNullException">Thrown if the <paramref name="device"/> argument is null.</exception>
- public DeviceEventArgs(SsdpDevice device)
- {
- if (device == null)
- {
- throw new ArgumentNullException(nameof(device));
- }
-
- _Device = device;
- }
-
- /// <summary>
- /// Returns the <see cref="SsdpDevice"/> instance the event being raised for.
- /// </summary>
- public SsdpDevice Device
- {
- get { return _Device; }
- }
- }
-}