mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 00:39:25 +01:00
Renamed Dto objects
Updated Fody Renamed Dto objects
This commit is contained in:
@@ -5,14 +5,14 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// This is strictly used as a data transfer object from the api layer.
|
||||
/// This holds information about a BaseItem in a format that is convenient for the client.
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class DtoBaseItem : IHasProviderIds, INotifyPropertyChanged
|
||||
public class BaseItemDto : IHasProviderIds, INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
@@ -229,7 +229,7 @@ namespace MediaBrowser.Model.DTO
|
||||
/// </summary>
|
||||
/// <value>The user data.</value>
|
||||
[ProtoMember(36)]
|
||||
public DtoUserItemData UserData { get; set; }
|
||||
public UserItemDataDto UserData { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is new.
|
||||
@@ -3,7 +3,7 @@ using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// This is used by the api to get information about a Person within a BaseItem
|
||||
|
||||
@@ -3,7 +3,7 @@ using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ChapterInfo
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ImageOptions
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to control the data that gets attached to DtoBaseItems
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ItemFilter
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains all the possible parameters that can be used to query for items
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ItemSortBy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the result of a query for items
|
||||
@@ -13,7 +13,7 @@ namespace MediaBrowser.Model.DTO
|
||||
/// </summary>
|
||||
/// <value>The items.</value>
|
||||
[ProtoMember(1)]
|
||||
public DtoBaseItem[] Items { get; set; }
|
||||
public BaseItemDto[] Items { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The total number of records available
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum MediaType
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class VideoStreamOptions
|
||||
|
||||
@@ -4,13 +4,13 @@ using ProtoBuf;
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class DtoUser
|
||||
/// Class UserDto
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class DtoUser : INotifyPropertyChanged
|
||||
public class UserDto : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
@@ -1,13 +1,13 @@
|
||||
using System.ComponentModel;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace MediaBrowser.Model.DTO
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class DtoUserItemData
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public class DtoUserItemData : INotifyPropertyChanged
|
||||
public class UserItemDataDto : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the rating.
|
||||
@@ -38,14 +38,14 @@ namespace MediaBrowser.Model.DTO
|
||||
public bool IsFavorite { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="DtoUserItemData" /> is likes.
|
||||
/// Gets or sets a value indicating whether this <see cref="UserItemDataDto" /> is likes.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [likes] contains no value, <c>true</c> if [likes]; otherwise, <c>false</c>.</value>
|
||||
[ProtoMember(5)]
|
||||
public bool? Likes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="DtoUserItemData" /> is played.
|
||||
/// Gets or sets a value indicating whether this <see cref="UserItemDataDto" /> is played.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if played; otherwise, <c>false</c>.</value>
|
||||
[ProtoMember(6)]
|
||||
@@ -76,11 +76,11 @@
|
||||
<Compile Include="Entities\RequestResult.cs" />
|
||||
<Compile Include="Configuration\UserConfiguration.cs" />
|
||||
<Compile Include="Drawing\DrawingUtils.cs" />
|
||||
<Compile Include="DTO\DtoUserItemData.cs" />
|
||||
<Compile Include="DTO\UserItemDataDto.cs" />
|
||||
<Compile Include="DTO\ItemFields.cs" />
|
||||
<Compile Include="DTO\ItemSortBy.cs" />
|
||||
<Compile Include="DTO\DtoBaseItem.cs" />
|
||||
<Compile Include="DTO\DtoUser.cs" />
|
||||
<Compile Include="DTO\BaseItemDto.cs" />
|
||||
<Compile Include="DTO\UserDto.cs" />
|
||||
<Compile Include="DTO\ItemsResult.cs" />
|
||||
<Compile Include="Entities\DisplayPreferences.cs" />
|
||||
<Compile Include="Entities\ImageType.cs" />
|
||||
|
||||
Reference in New Issue
Block a user