Click or drag to resize

XmlSurrogateSelector Class

Responsible for storage and retrieving of the xml surrogate classes.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.XmlXmlSurrogateSelector

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class XmlSurrogateSelector

The XmlSurrogateSelector type exposes the following members.

Constructors
 NameDescription
Public methodXmlSurrogateSelector Constructs an empty surrogate selector.
Top
Methods
 NameDescription
Public methodAddSurrogate(XmlSerializationSurrogateForAttribute, IXmlSerializationSurrogate) Adds a surrogate for the type specified in the XmlSerializationForAttribute.
Public methodAddSurrogate(Type, Int32, IXmlSerializationSurrogate) Adds a surrogate for the type
C#
type
.
Public methodAddSurrogate(String, String, Int32, IXmlSerializationSurrogate) Adds a surrogate for the type specified by assembly name, full type name, and version.
Protected methodAddTypeAndVersionIfHigher 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetFullyQualifiedTypeName(Type) Get the fully qualified name of a type. This includes the short assembly name; the full type name, and the version, separated by a comma.
Public methodStatic memberGetFullyQualifiedTypeName(Type, Int32) Get the fully qualified name of a type. This includes the short assembly name; the full type name, and the version, separated by a comma.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSurrogate(String) Get a serialization surrogate for the specified type.
Public methodGetSurrogate(Type) Get a serialization surrogate for the spezified type.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVersion Get the serialization version of a type.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTraceLoadedAssembliesForSurrogates Scans all momentarily loaded assemblies for xml serialization surrogates. Only assemblies that are marked with the SupportsSerializationVersioningAttribute are scanned.
Top
See Also