2 instantiations of FooContractResolver
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
DependencyInjection\MvcNewtonsoftJsonOptionsExtensionsTest.cs (2)
217
options.SerializerSettings.ContractResolver = new
FooContractResolver
();
231
options.SerializerSettings.ContractResolver = new
FooContractResolver
();
2 references to FooContractResolver
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
DependencyInjection\MvcNewtonsoftJsonOptionsExtensionsTest.cs (2)
218
var expectedMessage = Resources.FormatInvalidContractResolverForJsonCasingConfiguration(nameof(
FooContractResolver
), nameof(DefaultContractResolver));
232
var expectedMessage = Resources.FormatInvalidContractResolverForJsonCasingConfiguration(nameof(
FooContractResolver
), nameof(DefaultContractResolver));