Add XML docs to small model enums and remove CS1591 suppressions
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#nullable disable
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for DTOs that reference the id of the server they originate from.
|
||||
/// </summary>
|
||||
public interface IHasServerId
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the server id.
|
||||
/// </summary>
|
||||
string ServerId { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,23 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// The type of a media source.
|
||||
/// </summary>
|
||||
public enum MediaSourceType
|
||||
{
|
||||
/// <summary>
|
||||
/// A default media source.
|
||||
/// </summary>
|
||||
Default = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A grouping of media sources.
|
||||
/// </summary>
|
||||
Grouping = 1,
|
||||
|
||||
/// <summary>
|
||||
/// A placeholder media source, for example a disc that has to be inserted.
|
||||
/// </summary>
|
||||
Placeholder = 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// The type of a community rating.
|
||||
/// </summary>
|
||||
public enum RatingType
|
||||
{
|
||||
/// <summary>
|
||||
/// The rating is a numeric score.
|
||||
/// </summary>
|
||||
Score,
|
||||
|
||||
/// <summary>
|
||||
/// The rating is based on likes.
|
||||
/// </summary>
|
||||
Likes
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user