jellyfin/MediaBrowser.Model/Dto/RecommendationDto.cs
Bond-009 ee637e8fec Fix warnings, improve performance (#1665)
* Fix warnings, improve performance

`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)

* Update Providers .csproj to latest C#

* Remove extra newline from DtoService.cs

* Remove extra newline from UserLibraryService.cs
2019-09-02 02:19:29 -04:00

17 lines
369 B
C#

using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.Dto
{
public class RecommendationDto
{
public IReadOnlyCollection<BaseItemDto> Items { get; set; }
public RecommendationType RecommendationType { get; set; }
public string BaselineItemName { get; set; }
public Guid CategoryId { get; set; }
}
}