Persistate API documentation
TreeDeserialiser Class
NamespacesPersistateTreeDeserialiser

[This is preliminary documentation and is subject to change.]

This class contains methods to deserialise a persistent tree of objects from a Message, file or stream.
Declaration Syntax
C#
public class TreeDeserialiser
Members
All MembersMethods



IconMemberDescription
Deserialise(String)
Deserialises a tree previously serialised to a file.

Deserialise(Stream)
Deserialises a tree from am open stream.

Deserialise(Message)
Deserialises a tree previously serialised to a Message.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Read(String)
Reads Messages from a file.

Read(Stream)
Reads Messages from a stream.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

This class will deserialise data which was originally serialised using the TreeSerialiser class. The object tree will be created exactly as it was when serialised, including associated collections. The object cache is not used when deserialising, and the resulting tree of objects is detached from the persistent tree. It can be attached to the tree by setting the returned root object into a contained scalar member or collection.

Inheritance Hierarchy
Object
TreeDeserialiser

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)