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/DeviceEventArgs.cs | |
| parent | f1aba6b95230474d47c580071370c7dbd00eba13 (diff) | |
Remove RSSDP
Diffstat (limited to 'RSSDP/DeviceEventArgs.cs')
| -rw-r--r-- | RSSDP/DeviceEventArgs.cs | 35 |
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; } - } - } -} |
