Namespace ExtendedXmlSerializer.ExtensionModel
Classes
Used to cache commonly used components that are selected during serialization. |
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. |
A collection of registrations. |
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. |
An specialized alteration that is intended to alter a service repository. |
A specialized selector that is intended to retrieve the root instance provided during serialization with the Serialize(XmlWriter, Object) call. |
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. |
A general purpose component that is intended for service location. |
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. |
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. |