Serialize an entity and put the data to ouputStream
Must be thread safe, if different threads call it on different streams (but can
be called twice on the same entity at the same time).
Namespace:
CloudsterAssembly: Cloudster.CoreLib (in Cloudster.CoreLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
void StoreEntityToStream( Stream outputStream, TEntity toStore ) |
Visual Basic (Declaration) |
---|
Sub StoreEntityToStream ( _ outputStream As Stream, _ toStore As TEntity _ ) |
Visual C++ |
---|
void StoreEntityToStream( Stream^ outputStream, TEntity toStore ) |
Parameters
- outputStream
- Type: System.IO..::.Stream
[Missing <param name="outputStream"/> documentation for "M:Cloudster.ISerializer`1.StoreEntityToStream(System.IO.Stream,`0)"]
- toStore
- Type: TEntity
[Missing <param name="toStore"/> documentation for "M:Cloudster.ISerializer`1.StoreEntityToStream(System.IO.Stream,`0)"]