aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/DeviceEventArgs.cs
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-01-22 18:13:47 -0500
committerGitHub <noreply@github.com>2019-01-22 18:13:47 -0500
commit28483bdb54be96ae83e0fded097f534d7e26ba1e (patch)
treee7f4b92326417ebf55eecdf68a01d2c3b9e660d7 /RSSDP/DeviceEventArgs.cs
parent920c39454c05e979eabe81877269cd4517a03ccf (diff)
parent8106c8393b711a7e1d40487e3caf2b014decbe28 (diff)
Merge pull request #651 from jellyfin/release-10.1.0
Release 10.1.0
Diffstat (limited to 'RSSDP/DeviceEventArgs.cs')
-rw-r--r--RSSDP/DeviceEventArgs.cs64
1 files changed, 32 insertions, 32 deletions
diff --git a/RSSDP/DeviceEventArgs.cs b/RSSDP/DeviceEventArgs.cs
index 774d812ee..3925ba248 100644
--- a/RSSDP/DeviceEventArgs.cs
+++ b/RSSDP/DeviceEventArgs.cs
@@ -1,48 +1,48 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Text;
namespace Rssdp
{
- /// <summary>
- /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
- /// </summary>
- public sealed class DeviceEventArgs : EventArgs
- {
+ /// <summary>
+ /// Event arguments for the <see cref="SsdpDevice.DeviceAdded"/> and <see cref="SsdpDevice.DeviceRemoved"/> events.
+ /// </summary>
+ public sealed class DeviceEventArgs : EventArgs
+ {
- #region Fields
+ #region Fields
- private readonly SsdpDevice _Device;
+ private readonly SsdpDevice _Device;
- #endregion
+ #endregion
- #region Constructors
+ #region Constructors
- /// <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="System.ArgumentNullException">Thrown if the <paramref name="device"/> argument is null.</exception>
- public DeviceEventArgs(SsdpDevice device)
- {
- if (device == null) throw new ArgumentNullException("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;
- }
+ _Device = device;
+ }
- #endregion
+ #endregion
- #region Public Properties
+ #region Public Properties
- /// <summary>
- /// Returns the <see cref="SsdpDevice"/> instance the event being raised for.
- /// </summary>
- public SsdpDevice Device
- {
- get { return _Device; }
- }
+ /// <summary>
+ /// Returns the <see cref="SsdpDevice"/> instance the event being raised for.
+ /// </summary>
+ public SsdpDevice Device
+ {
+ get { return _Device; }
+ }
- #endregion
+ #endregion
- }
-} \ No newline at end of file
+ }
+}