Fix warnings MediaBrowser.Model

This commit is contained in:
Bond_009
2020-02-04 01:49:27 +01:00
parent 176e850973
commit f47ad85011
290 changed files with 1132 additions and 290 deletions

View File

@@ -1,12 +1,12 @@
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Class BrowseRequest
/// Class BrowseRequest.
/// </summary>
public class BrowseRequest
{
/// <summary>
/// Artist, Genre, Studio, Person, or any kind of BaseItem
/// Artist, Genre, Studio, Person, or any kind of BaseItem.
/// </summary>
/// <value>The type of the item.</value>
public string ItemType { get; set; }

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using MediaBrowser.Model.Dlna;

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using System.Collections.Generic;

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
/// <summary>

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
public class MessageCommand

View File

@@ -1,28 +1,32 @@
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Enum PlayCommand
/// Enum PlayCommand.
/// </summary>
public enum PlayCommand
{
/// <summary>
/// The play now
/// The play now.
/// </summary>
PlayNow = 0,
/// <summary>
/// The play next
/// The play next.
/// </summary>
PlayNext = 1,
/// <summary>
/// The play last
/// The play last.
/// </summary>
PlayLast = 2,
/// <summary>
/// The play instant mix
/// The play instant mix.
/// </summary>
PlayInstantMix = 3,
/// <summary>
/// The play shuffle
/// The play shuffle.
/// </summary>
PlayShuffle = 4
}

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
public enum PlayMethod

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using MediaBrowser.Model.Services;

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using MediaBrowser.Model.Dto;

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
using System;
using MediaBrowser.Model.Dto;
@@ -13,36 +16,43 @@ namespace MediaBrowser.Model.Session
/// </summary>
/// <value>The item.</value>
public BaseItemDto Item { get; set; }
/// <summary>
/// Gets or sets the item identifier.
/// </summary>
/// <value>The item identifier.</value>
public Guid ItemId { get; set; }
/// <summary>
/// Gets or sets the session id.
/// </summary>
/// <value>The session id.</value>
public string SessionId { get; set; }
/// <summary>
/// Gets or sets the media version identifier.
/// </summary>
/// <value>The media version identifier.</value>
public string MediaSourceId { get; set; }
/// <summary>
/// Gets or sets the position ticks.
/// </summary>
/// <value>The position ticks.</value>
public long? PositionTicks { get; set; }
/// <summary>
/// Gets or sets the live stream identifier.
/// </summary>
/// <value>The live stream identifier.</value>
public string LiveStreamId { get; set; }
/// <summary>
/// Gets or sets the play session identifier.
/// </summary>
/// <value>The play session identifier.</value>
public string PlaySessionId { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this <see cref="PlaybackStopInfo"/> is failed.
/// </summary>

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
public class PlayerStateInfo

View File

@@ -1,40 +1,50 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Enum PlaystateCommand
/// Enum PlaystateCommand.
/// </summary>
public enum PlaystateCommand
{
/// <summary>
/// The stop
/// The stop.
/// </summary>
Stop,
/// <summary>
/// The pause
/// The pause.
/// </summary>
Pause,
/// <summary>
/// The unpause
/// The unpause.
/// </summary>
Unpause,
/// <summary>
/// The next track
/// The next track.
/// </summary>
NextTrack,
/// <summary>
/// The previous track
/// The previous track.
/// </summary>
PreviousTrack,
/// <summary>
/// The seek
/// The seek.
/// </summary>
Seek,
/// <summary>
/// The rewind
/// The rewind.
/// </summary>
Rewind,
/// <summary>
/// The fast forward
/// The fast forward.
/// </summary>
FastForward,
PlayPause

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
public class PlaystateRequest

View File

@@ -1,3 +1,6 @@
#pragma warning disable CS1591
#pragma warning disable SA1600
namespace MediaBrowser.Model.Session
{
public class TranscodingInfo

View File

@@ -3,7 +3,7 @@ using MediaBrowser.Model.Dto;
namespace MediaBrowser.Model.Session
{
/// <summary>
/// Class UserDataChangeInfo
/// Class UserDataChangeInfo.
/// </summary>
public class UserDataChangeInfo
{