XmlStreamDeserializationInfo Class |
Deserializes object from a XML stream.
Inheritance Hierarchy SystemObject Altaxo.Serialization.XmlXmlStreamDeserializationInfo Namespace: Altaxo.Serialization.XmlAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public class XmlStreamDeserializationInfo : IXmlDeserializationInfo,
IDisposable
The XmlStreamDeserializationInfo type exposes the following members.
Constructors Properties | Name | Description |
---|
| CurrentElementName | Returns the name of the current xml element. |
| PropertyDictionary |
Gets the property dictionary. This is a dictionary where some string/value pairs could be stored, and used during or after deserialization
|
TopMethods | Name | Description |
---|
| AnnounceDeserializationEnd | |
| AnnounceDeserializationHasCompletelyFinished | |
| BeginReading(Stream) | |
| BeginReading(String) | |
| BeginReading(XmlReader) | |
| CloseArray | |
| CloseElement | |
| Dispose | Releases all resources used by the XmlStreamDeserializationInfo |
| EndReading | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetArray(Single) | |
| GetArray(DateTime, Int32) | |
| GetArray(Double, Int32) | |
| GetArray(Int32, Int32) | |
| GetArray(String, Double) | |
| GetArray(String, Int32) | |
| GetArray(String, Int32) | |
| GetArray(BitArray, BitArray, Int32) | |
| GetArrayOfPrimitiveTypeBase64 | |
| GetArrayOfPrimitiveTypeBinHex | |
| GetArrayOfStrings | |
| GetArrayOfValuesT | |
| GetBaseValueEmbedded | |
| GetBaseValueEmbeddedOrNull | Deserializes the embedded base type. |
| GetBaseValueStandalone | |
| GetBoolean | |
| GetBoolean(String) | |
| GetChar | |
| GetDateTime | |
| GetDouble | |
| GetDouble(String) | |
| GetElementAsOuterXml | |
| GetEnum(String, Type) | |
| GetEnumT(String) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetInt32 | |
| GetInt32(String) | |
| GetInt32Attribute | |
| GetInt64 | |
| GetMemoryStream | |
| GetNodeContent | |
| GetNodeName | |
| GetNullableBoolean | |
| GetNullableDouble | |
| GetNullableEnumT | |
| GetNullableInt32 | |
| GetNullableStructT | |
| GetPropertyOrDefaultT |
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.
|
| GetSingle | |
| GetSingle(String) | |
| GetString | |
| GetString(String) | |
| GetStringAttribute | |
| GetStringAttributeOrNull | |
| GetTimeSpan | |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetValue(String, Object) | |
| GetValueT(String, Object) | |
| GetValueOrNull(Object) | |
| GetValueOrNull(String, Object) | |
| GetValueOrNullT(String, Object) | |
| GetValueOrOuterXml |
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.
|
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| OpenArray | |
| OpenArray(String) | |
| OpenElement | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
TopEvents | Name | Description |
---|
| AfterDeserializationHasCompletelyFinished |
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.
|
| DeserializationFinished |
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.
|
| InstanceCreated |
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.
|
TopSee Also