Files
Newtonsoft.Json/Src/Newtonsoft.Json.Tests/TestObjects/HolderClass.cs
T
James Newton-King 8471c4ffe1 -Added IgnoreSerializableInterface to DefaultContractResolver
-Changed serializing ISerializable types under partial trust to error to fix security issue
-Fixed LinqBridge collision error in .NET 2.0 by moving types to a different namespace
-Fixed JObject.Keys error when object has no items
2012-03-18 16:24:30 +13:00

19 lines
552 B
C#

using System.Collections.Generic;
namespace Newtonsoft.Json.Tests.TestObjects
{
public class HolderClass
{
public HolderClass() { }
[Newtonsoft.Json.JsonProperty(TypeNameHandling = Newtonsoft.Json.TypeNameHandling.All)]
public ContentBaseClass TestMember { get; set; }
[Newtonsoft.Json.JsonProperty(TypeNameHandling = Newtonsoft.Json.TypeNameHandling.All)]
public Dictionary<int, IList<ContentBaseClass>> AnotherTestMember { get; set; }
public ContentBaseClass AThirdTestMember { get; set; }
}
}