15 references to WrapperProviderContext
Microsoft.AspNetCore.Mvc.Formatters.Xml (6)
XmlDataContractSerializerInputFormatter.cs (1)
204
new
WrapperProviderContext
(declaredType, isSerialization: false));
XmlDataContractSerializerOutputFormatter.cs (2)
123
var wrapperProvider = WrapperProviderFactories.GetWrapperProvider(new
WrapperProviderContext
(
247
var wrapperProvider = WrapperProviderFactories.GetWrapperProvider(new
WrapperProviderContext
(
XmlSerializerInputFormatter.cs (1)
186
new
WrapperProviderContext
(declaredType, isSerialization: false));
XmlSerializerOutputFormatter.cs (2)
105
var wrapperProvider = WrapperProviderFactories.GetWrapperProvider(new
WrapperProviderContext
(
224
var wrapperProvider = WrapperProviderFactories.GetWrapperProvider(new
WrapperProviderContext
(
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (9)
EnumerableWrapperProviderFactoryTest.cs (3)
51
var wrapperProviderContext = new
WrapperProviderContext
(declaredType, isSerialization: true);
104
var wrapperProviderContext = new
WrapperProviderContext
(declaredType, isSerialization: true);
156
var wrapperProviderContext = new
WrapperProviderContext
(declaredType, isSerialization: true);
ProblemDetailsWrapperProviderFactoryTest.cs (4)
13
var context = new
WrapperProviderContext
(typeof(SerializableError), isSerialization: true);
28
var context = new
WrapperProviderContext
(instance.GetType(), isSerialization: true);
45
var context = new
WrapperProviderContext
(instance.GetType(), isSerialization: true);
62
var context = new
WrapperProviderContext
(instance.GetType(), isSerialization: true);
SerializableWrapperProviderFactoryTest.cs (2)
18
new
WrapperProviderContext
(typeof(SerializableError), isSerialization));
33
new
WrapperProviderContext
(typeof(Person), isSerialization: true));