Microsoft.AspNetCore.Mvc.Formatters.Xml Namespace

The types in this namespace support the ASP.NET Core framework and are not intended to be used directly.

Classes

DelegatingEnumerable<TWrapped,TDeclared>

Serializes IEnumerable<T> types by delegating them through a concrete implementation.

DelegatingEnumerator<TWrapped,TDeclared>

Delegates enumeration of elements to the original enumerator and wraps the items with the supplied IWrapperProvider.

EnumerableWrapperProvider

Provides a IWrapperProvider for interface types which implement IEnumerable<T>.

EnumerableWrapperProviderFactory

Creates an EnumerableWrapperProvider for interface types implementing the IEnumerable<T> type.

MvcXmlOptions

Provides configuration for XML formatters.

ProblemDetails21Wrapper

Wrapper class for ProblemDetails to enable it to be serialized by the xml formatters.

ProblemDetailsWrapper

Wrapper class for ProblemDetails to enable it to be serialized by the xml formatters.

SerializableErrorWrapper

Wrapper class for SerializableError to enable it to be serialized by the xml formatters.

SerializableErrorWrapperProvider

Wraps the object of type SerializableError.

SerializableErrorWrapperProviderFactory

Creates an IWrapperProvider for the type SerializableError.

ValidationProblemDetails21Wrapper

Wrapper class for ValidationProblemDetails to enable it to be serialized by the xml formatters.

ValidationProblemDetailsWrapper

Wrapper class for ValidationProblemDetails to enable it to be serialized by the xml formatters.

WrapperProviderContext

The context used by an IWrapperProvider to wrap or un-wrap types.

WrapperProviderFactoriesExtensions

Extension methods for IWrapperProviderFactory.

Interfaces

IUnwrappable

Defines an interface for objects to be un-wrappable after deserialization.

IWrapperProvider

Defines an interface for wrapping objects for serialization or deserialization into xml.

IWrapperProviderFactory

Create a IWrapperProvider given a WrapperProviderContext.

Remarks

For more information abouting formatting response data, see Format response data.