mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Remove tabs and trailing whitespace
This commit is contained in:
@@ -4,45 +4,45 @@ 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("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
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user