Configuration and serialization improvements

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-29 11:19:25 -04:00
parent 77e81432f7
commit 5d88dc8575
11 changed files with 79 additions and 46 deletions

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Collections.Generic;
using MediaBrowser.Model.Users;
namespace MediaBrowser.Model.Entities
@@ -25,15 +23,8 @@ namespace MediaBrowser.Model.Entities
public IEnumerable<ApiBaseItemWrapper<T>> Children { get; set; }
[IgnoreDataMember]
public Type ItemType { get; set; }
public bool IsFolder { get; set; }
public string Type
{
get
{
return ItemType.Name;
}
}
public string Type { get; set; }
}
}