aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/DeviceEventArgs.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-01-16 19:10:42 +0100
committerGitHub <noreply@github.com>2019-01-16 19:10:42 +0100
commit900dc851e6c810f9e1772a6fb901a5a7e2801baf (patch)
tree205bac3cd6df971ee18739e59bd4da0ffe91718b /RSSDP/DeviceEventArgs.cs
parent07a8e49c4b1e4a2dddbaa49ab6f1ff4f271fbf20 (diff)
parent933ef438894ed233fec46badf58dd4f26492e832 (diff)
Merge branch 'dev' into cleanup
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..55b23b68c 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="System.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
+ }
+}