5 implementations of WrappingType
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
EnumerableWrapperProvider.cs (1)
55public Type WrappingType
ProblemDetailsWrapperProviderFactory.cs (1)
31public Type WrappingType { get; }
SerializableErrorWrapperProvider.cs (1)
12public Type WrappingType => typeof(SerializableErrorWrapper);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (1)
PersonWrapperProvider.cs (1)
20public Type WrappingType
XmlFormattersWebSite (1)
PersonWrapperProvider.cs (1)
23public Type WrappingType
9 references to WrappingType
Microsoft.AspNetCore.Mvc.Formatters.Xml (6)
EnumerableWrapperProvider.cs (1)
44var wrappedElementType = elementWrapperProvider?.WrappingType ?? declaredElementType;
IWrapperProvider.cs (1)
17/// Wraps the given object to the wrapping type provided by <see cref="WrappingType"/>.
XmlDataContractSerializerInputFormatter.cs (1)
206return wrapperProvider?.WrappingType ?? declaredType;
XmlDataContractSerializerOutputFormatter.cs (1)
127return wrapperProvider?.WrappingType ?? type;
XmlSerializerInputFormatter.cs (1)
188return wrapperProvider?.WrappingType ?? declaredType;
XmlSerializerOutputFormatter.cs (1)
109return wrapperProvider?.WrappingType ?? type;
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
EnumerableWrapperProviderFactoryTest.cs (2)
58Assert.Equal(expectedWrappingType, wrapperProvider.WrappingType); 111Assert.Equal(expectedWrappingType, wrapperProvider.WrappingType);
SerializableWrapperProviderFactoryTest.cs (1)
22Assert.Equal(typeof(SerializableErrorWrapper), wrapperProvider.WrappingType);