Show / Hide Table of Contents

Namespace ExtendedXmlSerializer.ExtensionModel

Classes

CachingExtension

Used to cache commonly used components that are selected during serialization.

DefaultExtensions

Compiles a list of default extensions used in the configuration container.

FallbackSerializationExtension

Configures a serializer so that if an exception occcurs during selection of a serializer for a given type, a provided fallback serializer is selected instead. By default the provided fallback serializer does nothing for serializer and returns a null instance for deserialization.

Registrations<T>

A collection of registrations.

SerializationExtension

A default extension that registers all necessary and fundamental components required for successful serialization deserialization.

Interfaces

FallbackSerializationExtension.IFallbackSerializer

Used to register a specific serializer with the container so that it is used for fall back serialization.

IRegistration

An specialized alteration that is intended to alter a service repository.

IRootInstances

A specialized selector that is intended to retrieve the root instance provided during serialization with the Serialize(XmlWriter, Object) call.

ISerializerExtension

The heart and soul of the extension model. This performs any registrations during serializer activation and once the serializer is created, performs any necessary post-processing with its ICommand<T> implementation.

IServiceProvider

A general purpose component that is intended for service location.

IServiceRepository

Custom service registry. Modeled after LightInject.IServiceRegistry. If designed today, we would remove this interface with the LightInject version. Perhaps in a future version we will do this as a breaking change. For the default implementation, most calls pass through directly to the underlying LightInject equivalent. For those operations that require a LightInject.ILifetime, a LightInject.PerContainerLifetime is used.

IServices

Represents a services container for the extension model. This is responsible for querying and registering services, as well as finally disposing and cleaning all resources once the serializer has been constructed. This is passed in as the parameter to post-registration during the extension processing.

Back to top Generated by DocFX