aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/RequestReceivedEventArgs.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2019-01-10 19:54:18 -0500
committerGitHub <noreply@github.com>2019-01-10 19:54:18 -0500
commit15c89d281e29578a752dd9828e12e6fa243621a8 (patch)
tree49ad7b46cb06c844affe835e5ed7b8d87deebf4a /RSSDP/RequestReceivedEventArgs.cs
parent3d867c2c46cec39b669bb8647efef677f32b8a8d (diff)
parentbd169e4fd4f5586ab8dad323a520cbcc10de54fe (diff)
Merge pull request #506 from hawken93/linting
Removing tabs and trailing whitespace
Diffstat (limited to 'RSSDP/RequestReceivedEventArgs.cs')
-rw-r--r--RSSDP/RequestReceivedEventArgs.cs100
1 files changed, 49 insertions, 51 deletions
diff --git a/RSSDP/RequestReceivedEventArgs.cs b/RSSDP/RequestReceivedEventArgs.cs
index f4e367760..6a5b0f086 100644
--- a/RSSDP/RequestReceivedEventArgs.cs
+++ b/RSSDP/RequestReceivedEventArgs.cs
@@ -8,54 +8,52 @@ using MediaBrowser.Model.Net;
namespace Rssdp.Infrastructure
{
- /// <summary>
- /// Provides arguments for the <see cref="ISsdpCommunicationsServer.RequestReceived"/> event.
- /// </summary>
- public sealed class RequestReceivedEventArgs : EventArgs
- {
-
- #region Fields
-
- private readonly HttpRequestMessage _Message;
- private readonly IpEndPointInfo _ReceivedFrom;
-
- #endregion
-
- public IpAddressInfo LocalIpAddress { get; private set; }
-
- #region Constructors
-
- /// <summary>
- /// Full constructor.
- /// </summary>
- public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
- {
- _Message = message;
- _ReceivedFrom = receivedFrom;
- LocalIpAddress = localIpAddress;
- }
-
- #endregion
-
- #region Public Properties
-
- /// <summary>
- /// The <see cref="HttpRequestMessage"/> that was received.
- /// </summary>
- public HttpRequestMessage Message
- {
- get { return _Message; }
- }
-
- /// <summary>
- /// The <see cref="UdpEndPoint"/> the request came from.
- /// </summary>
- public IpEndPointInfo ReceivedFrom
- {
- get { return _ReceivedFrom; }
- }
-
- #endregion
-
- }
-} \ No newline at end of file
+ /// <summary>
+ /// Provides arguments for the <see cref="ISsdpCommunicationsServer.RequestReceived"/> event.
+ /// </summary>
+ public sealed class RequestReceivedEventArgs : EventArgs
+ {
+ #region Fields
+
+ private readonly HttpRequestMessage _Message;
+ private readonly IpEndPointInfo _ReceivedFrom;
+
+ #endregion
+
+ public IpAddressInfo LocalIpAddress { get; private set; }
+
+ #region Constructors
+
+ /// <summary>
+ /// Full constructor.
+ /// </summary>
+ public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
+ {
+ _Message = message;
+ _ReceivedFrom = receivedFrom;
+ LocalIpAddress = localIpAddress;
+ }
+
+ #endregion
+
+ #region Public Properties
+
+ /// <summary>
+ /// The <see cref="HttpRequestMessage"/> that was received.
+ /// </summary>
+ public HttpRequestMessage Message
+ {
+ get { return _Message; }
+ }
+
+ /// <summary>
+ /// The <see cref="UdpEndPoint"/> the request came from.
+ /// </summary>
+ public IpEndPointInfo ReceivedFrom
+ {
+ get { return _ReceivedFrom; }
+ }
+
+ #endregion
+ }
+}