2 instantiations of TestExtensionsJsonContext
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ProblemDetailsServiceCollectionExtensionsTest.cs (2)
91
collection.ConfigureAll<JsonOptions>(options => options.SerializerOptions.TypeInfoResolver = new
TestExtensionsJsonContext
());
114
options.SerializerOptions.TypeInfoResolver = new
TestExtensionsJsonContext
();
3 references to TestExtensionsJsonContext
Microsoft.AspNetCore.Http.Extensions.Tests (3)
ProblemDetailsServiceCollectionExtensionsTest.cs (3)
147
collection.ConfigureAll<JsonOptions>(options => options.SerializerOptions.TypeInfoResolverChain.Insert(0,
TestExtensionsJsonContext
.Default));
151
collection.ConfigureAll<JsonOptions>(options => options.SerializerOptions.TypeInfoResolverChain.Add(
TestExtensionsJsonContext
.Default));
155
collection.ConfigureAll<JsonOptions>(options => options.SerializerOptions.TypeInfoResolver =
TestExtensionsJsonContext
.Default);