Renamed Dto objects

Updated Fody
Renamed Dto objects
This commit is contained in:
ScottIsAFool
2013-02-21 17:50:46 +00:00
parent fbf963b68f
commit ec621df5f6
69 changed files with 262 additions and 262 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -3,7 +3,7 @@ using System;
using System.ComponentModel;
using System.Runtime.Serialization;
namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Class ChapterInfo

View File

@@ -2,7 +2,7 @@
using System;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Class ImageOptions

View File

@@ -1,5 +1,5 @@

namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Used to control the data that gets attached to DtoBaseItems

View File

@@ -1,5 +1,5 @@

namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Enum ItemFilter

View File

@@ -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

View File

@@ -1,5 +1,5 @@

namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Enum ItemSortBy

View File

@@ -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

View File

@@ -1,5 +1,5 @@

namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Enum MediaType

View File

@@ -1,4 +1,4 @@
namespace MediaBrowser.Model.DTO
namespace MediaBrowser.Model.Dto
{
/// <summary>
/// Class VideoStreamOptions

View File

@@ -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.

View File

@@ -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)]

View File

@@ -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" />