Click or drag to resize

Altaxo.Serialization.Xml Namespace

Contains XML serialization infrastructure and surrogates.
Classes
 ClassDescription
Public classAssemblyAndTypeSurrogate Stores the assembly name and type name of an object so that an instance of that type can later be recreated.
Public classAssemblyAndTypeSurrogateXmlSerializationSurrogate Serialization surrogate for AssemblyAndTypeSurrogate.
Public classDeserializationException Exception that is thrown during deserialization if unexpected values are encountered.
Public classDeserializationNullException Exception that is thrown when an object was expected to be deserialized, but null was deserialized instead.
Public classFrameworkXmlSerializationWrapper This element wraps an Altaxo element, which is serializable to an Xml document using the Altaxo built-in Xml serialization infrastructure, to an element which is serializable as Xml by the .NET framework Xml serialization infrastructure. Since the framework infrastructure does not support renaming of classes, this wrapper class must not be renamed or moved to another namespace.
Public classXmlDeserializationCodeForAttribute Identifies a deserialization helper method for a target type and version.
Public classXmlSerializationCodeForAttribute Identifies a serialization helper method for a target type and version.
Public classXmlSerializationSurrogateForAttribute Used to point to the target type for which this class provides a serialization surrogate. Apply this attribute to a surrogate class to indicate the type (or the assembly/type name) and version for which the surrogate handles serialization/deserialization.
Public classXmlStreamDeserializationInfo Deserializes objects from an XML stream.
Public classXmlStreamSerializationInfo Provides XML serialization support for writing values and objects to an XML stream.
Public classXmlSurrogateSelector Stores and retrieves XML serialization surrogates.
Interfaces
 InterfaceDescription
Public interfaceIXmlDeserializationInfo Provides an abstraction for reading values during XML deserialization. Implementations expose helpers to read primitives, arrays, complex values, and to manage element scope and callbacks.
Public interfaceIXmlSerializationInfo Abstraction for writing values to an XML stream during serialization. Provides APIs to write primitives, arrays, elements, complex objects, and raw XML, including base-type handling.
Public interfaceIXmlSerializationSurrogate Contract for XML serialization surrogates that serialize and deserialize specific types. Implementations should emit/read XML for the target type and handle base-type chaining when needed.
Delegates
 DelegateDescription
Public delegateXmlDeserializationCallbackEventHandler Delegate invoked to notify deserialization surrogates after finishing deserialization.
Enumerations
 EnumerationDescription
Public enumerationXmlArrayEncoding Defines the encoding used to store arrays of primitive types.