Class XmlSerialization
- Namespace
- Alternet.FormDesigner
- Assembly
- Alternet.FormDesigner.v10.dll
public static class XmlSerialization
- Inheritance
-
XmlSerialization
Fields
- PrefixCDATA
Gets the prefix string for CDATA sections.
- SuffixCDATA
Gets the suffix string for CDATA sections.
Properties
- DebugWriteLineInLogError
Gets or sets whether to output error using WriteLine(string).
- ResolveTypeAlias
Gets or sets the delegate used to resolve type aliases during XML serialization.
- ResolverAliases
Gets or sets a dictionary of resolver aliases used to map string keys to their corresponding Type objects.
- SerializerKnownTypes
Gets or sets the list of known types used by the serializer during serialization and deserialization.
- SerializerSettings
Gets or sets the settings used during serialization and deserialization.
Methods
- CreateMemoryStream(Stream)
Creates MemoryStream with data copied from the specified stream.
- DeserializeDataObject(ITypeResolutionService, Stream)
Deserializes data object from the specified stream. This method is called when deserialization with Serializable format is performed.
- RegisterResolverAlias(string, Type)
Registers a resolver alias that maps a string alias to a specific Type.
- SerializeDataObject(Stream, object, XmlWriterSettings)
Serializes data object to the specified stream. This method is called when serialization with Serializable format is performed.
- StringFromStreamOrNull(Stream, Encoding)
Reads a string from the specified stream using the specified encoding. Returns null if the stream is null or if an error occurs during reading.