mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
Merge branch 'dev' into code-cleanup
This commit is contained in:
@@ -4,19 +4,19 @@ 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"/>.
|
||||
@@ -27,22 +27,22 @@ namespace Rssdp
|
||||
{
|
||||
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
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user