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