-Merge demo
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user