mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Remove tabs and trailing whitespace
This commit is contained in:
@@ -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
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides arguments for the <see cref="ISsdpCommunicationsServer.RequestReceived"/> event.
|
||||
/// </summary>
|
||||
public sealed class RequestReceivedEventArgs : EventArgs
|
||||
{
|
||||
#region Fields
|
||||
|
||||
#region Fields
|
||||
private readonly HttpRequestMessage _Message;
|
||||
private readonly IpEndPointInfo _ReceivedFrom;
|
||||
|
||||
private readonly HttpRequestMessage _Message;
|
||||
private readonly IpEndPointInfo _ReceivedFrom;
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
public IpAddressInfo LocalIpAddress { get; private set; }
|
||||
|
||||
public IpAddressInfo LocalIpAddress { get; private set; }
|
||||
#region Constructors
|
||||
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
/// Full constructor.
|
||||
/// </summary>
|
||||
public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
|
||||
{
|
||||
_Message = message;
|
||||
_ReceivedFrom = receivedFrom;
|
||||
LocalIpAddress = localIpAddress;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Full constructor.
|
||||
/// </summary>
|
||||
public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
|
||||
{
|
||||
_Message = message;
|
||||
_ReceivedFrom = receivedFrom;
|
||||
LocalIpAddress = localIpAddress;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
#region Public Properties
|
||||
|
||||
#region Public Properties
|
||||
/// <summary>
|
||||
/// The <see cref="HttpRequestMessage"/> that was received.
|
||||
/// </summary>
|
||||
public HttpRequestMessage Message
|
||||
{
|
||||
get { return _Message; }
|
||||
}
|
||||
|
||||
/// <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; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="UdpEndPoint"/> the request came from.
|
||||
/// </summary>
|
||||
public IpEndPointInfo ReceivedFrom
|
||||
{
|
||||
get { return _ReceivedFrom; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user