Hide some property setters, init null values, update namespaces

This commit is contained in:
Ionut Andrei Oanca
2020-11-14 23:40:01 +01:00
parent fa69f6fd51
commit 5d77f422f0
37 changed files with 365 additions and 229 deletions

View File

@@ -1,5 +1,3 @@
#nullable disable
using System;
namespace MediaBrowser.Model.SyncPlay
@@ -10,15 +8,26 @@ namespace MediaBrowser.Model.SyncPlay
public class QueueItem
{
/// <summary>
/// Gets or sets the item identifier.
/// Initializes a new instance of the <see cref="QueueItem"/> class.
/// </summary>
/// <value>The item identifier.</value>
public Guid ItemId { get; set; }
/// <param name="itemId">The item identifier.</param>
/// <param name="playlistItemId">The playlist identifier of the item.</param>
public QueueItem(Guid itemId, string playlistItemId)
{
ItemId = itemId;
PlaylistItemId = playlistItemId;
}
/// <summary>
/// Gets or sets the playlist identifier of the item.
/// Gets the item identifier.
/// </summary>
/// <value>The item identifier.</value>
public Guid ItemId { get; }
/// <summary>
/// Gets the playlist identifier of the item.
/// </summary>
/// <value>The playlist identifier of the item.</value>
public string PlaylistItemId { get; set; }
public string PlaylistItemId { get; }
}
}