mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 14:28:46 +01:00
Enable nullabe reference types for MediaBrowser.Model
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS1591
|
||||
#nullable disable
|
||||
|
||||
using System.Net;
|
||||
|
||||
@@ -10,12 +10,12 @@ namespace MediaBrowser.Model.Net
|
||||
public sealed class SocketReceiveResult
|
||||
{
|
||||
/// <summary>
|
||||
/// The buffer to place received data into.
|
||||
/// Gets or sets the buffer to place received data into.
|
||||
/// </summary>
|
||||
public byte[] Buffer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The number of bytes received.
|
||||
/// Gets or sets the number of bytes received.
|
||||
/// </summary>
|
||||
public int ReceivedBytes { get; set; }
|
||||
|
||||
@@ -23,6 +23,10 @@ namespace MediaBrowser.Model.Net
|
||||
/// The <see cref="IPEndPoint"/> the data was received from.
|
||||
/// </summary>
|
||||
public IPEndPoint RemoteEndPoint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The local <see cref="IPAddress"/>.
|
||||
/// </summary>
|
||||
public IPAddress LocalIPAddress { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user