Click or drag to resize

XmlStreamDeserializationInfo Class

Deserializes object from a XML stream.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.XmlXmlStreamDeserializationInfo

Namespace: Altaxo.Serialization.Xml
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class XmlStreamDeserializationInfo : IXmlDeserializationInfo, 
	IDisposable

The XmlStreamDeserializationInfo type exposes the following members.

Constructors
 NameDescription
Public methodXmlStreamDeserializationInfoInitializes a new instance of the XmlStreamDeserializationInfo class
Top
Properties
 NameDescription
Public propertyCurrentElementNameReturns the name of the current xml element.
Public propertyPropertyDictionary Gets the property dictionary. This is a dictionary where some string/value pairs could be stored, and used during or after deserialization
Top
Methods
 NameDescription
Public methodAnnounceDeserializationEnd 
Public methodAnnounceDeserializationHasCompletelyFinished 
Public methodBeginReading(Stream) 
Public methodBeginReading(String) 
Public methodBeginReading(XmlReader) 
Public methodCloseArray 
Public methodCloseElement 
Public methodDisposeReleases all resources used by the XmlStreamDeserializationInfo
Public methodEndReading 
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 methodGetArray(Single) 
Public methodGetArray(DateTime, Int32) 
Public methodGetArray(Double, Int32) 
Public methodGetArray(Int32, Int32) 
Public methodGetArray(String, Double) 
Public methodGetArray(String, Int32) 
Public methodGetArray(String, Int32) 
Public methodGetArray(BitArray, BitArray, Int32) 
Public methodGetArrayOfPrimitiveTypeBase64 
Public methodGetArrayOfPrimitiveTypeBinHex 
Public methodGetArrayOfStrings 
Public methodGetArrayOfValuesT 
Public methodGetBaseValueEmbedded 
Public methodGetBaseValueEmbeddedOrNullDeserializes the embedded base type.
Public methodGetBaseValueStandalone 
Public methodGetBoolean 
Public methodGetBoolean(String) 
Public methodGetChar 
Public methodGetDateTime 
Public methodGetDouble 
Public methodGetDouble(String) 
Public methodGetElementAsOuterXml 
Public methodGetEnum(String, Type) 
Public methodGetEnumT(String) 
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInt32 
Public methodGetInt32(String) 
Public methodGetInt32Attribute 
Public methodGetInt64 
Public methodGetMemoryStream 
Public methodGetNodeContent 
Public methodGetNodeName 
Public methodGetNullableBoolean 
Public methodGetNullableDouble 
Public methodGetNullableEnumT 
Public methodGetNullableInt32 
Public methodGetNullableStructT 
Public methodGetPropertyOrDefaultT Gets a property value from the property dictionary identified by the provided key string. If the property does not exist in the dictionary, the default value is returned.
Public methodGetSingle 
Public methodGetSingle(String) 
Public methodGetString 
Public methodGetString(String) 
Public methodGetStringAttribute 
Public methodGetStringAttributeOrNull 
Public methodGetTimeSpan 
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValue(String, Object) 
Public methodGetValueT(String, Object) 
Public methodGetValueOrNull(Object) 
Public methodGetValueOrNull(String, Object) 
Public methodGetValueOrNullT(String, Object) 
Public methodGetValueOrOuterXml Intended for lazy loading. Tries to get the deserialized value. If the type is unknown (this can happen if (especially for addin DLLs) a DLL is not loaded yet), the outer XML node is returned as string value, so it can be deserialized later.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpenArray 
Public methodOpenArray(String) 
Public methodOpenElement 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventAfterDeserializationHasCompletelyFinished Occurs after (!) the deserialization process has completely finished, and the dirty flag of the document was cleared. This callback is intended to activate the data sources of the document, which should be suspended during the deserialization process.
Public eventDeserializationFinished This event is called if the deserialization process of all objects is finished and the deserialized objects are sorted into the document. Then the application should call AllFinished, which fires this event. The purpose of this event is to resolve the references in the deserialized objects. This resolving process can be successfully done only if the objects are put in the right places in the document, so that the document paths can be resolved to the right objects.
Public eventStatic memberInstanceCreated Occurs when a new instance of this class is created. Argument is the created instance. This event is hold weak, thus you can safely add your handler without running in memory leaks.
Top
See Also