Deserializer.

Namespace:  Cloudster
Assembly:  Cloudster.CoreLib (in Cloudster.CoreLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public TEntity LoadEntityFromStream(
	Stream inputStream,
	Guid toLoad
)
Visual Basic (Declaration)
Public Function LoadEntityFromStream ( _
	inputStream As Stream, _
	toLoad As Guid _
) As TEntity
Visual C++
public:
virtual TEntity LoadEntityFromStream(
	Stream^ inputStream, 
	Guid toLoad
) sealed

Parameters

inputStream
Type: System.IO..::.Stream

[Missing <param name="inputStream"/> documentation for "M:Cloudster.DefaultSerializer`1.LoadEntityFromStream(System.IO.Stream,System.Guid)"]

toLoad
Type: System..::.Guid

[Missing <param name="toLoad"/> documentation for "M:Cloudster.DefaultSerializer`1.LoadEntityFromStream(System.IO.Stream,System.Guid)"]

Return Value

[Missing <returns> documentation for "M:Cloudster.DefaultSerializer`1.LoadEntityFromStream(System.IO.Stream,System.Guid)"]

Implements

ISerializer<(Of <(TEntity>)>)..::.LoadEntityFromStream(Stream, Guid)

Remarks

There is a small problem here : no constructor are called to build the entity. If you use this serializer, please take care of that : this deserialization process restores the structure without calling any constructor.

See Also