mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-14 11:40:42 +01:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -10,6 +10,15 @@ namespace MediaBrowser.Model.Dto
|
||||
/// </summary>
|
||||
public class UserDto : IItemDto, IHasServerId
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UserDto"/> class.
|
||||
/// </summary>
|
||||
public UserDto()
|
||||
{
|
||||
Configuration = new UserConfiguration();
|
||||
Policy = new UserPolicy();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
@@ -94,15 +103,6 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The primary image aspect ratio.</value>
|
||||
public double? PrimaryImageAspectRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UserDto"/> class.
|
||||
/// </summary>
|
||||
public UserDto()
|
||||
{
|
||||
Configuration = new UserConfiguration();
|
||||
Policy = new UserPolicy();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user