-Merge demo

This commit is contained in:
James Newton-King
2014-08-03 18:56:41 +12:00
parent 8e727a27b2
commit 3327a6954c
4 changed files with 40 additions and 1 deletions
@@ -118,6 +118,7 @@ namespace Newtonsoft.Json.Tests.Serialization
{
JsonObjectContract contract = base.CreateObjectContract(objectType);
// use Autofac to create types that have been registered with it
if (_container.IsRegistered(objectType))
contract.DefaultCreator = () => _container.Resolve(objectType);