Interface ISerializer
Describes an entity that can serialize and deserialize objects
Assembly: Azos.dll
Syntax
public interface ISerializer
Properties
IsThreadSafe
Indicates whether Serialize/Deserialize may be called by multiple threads at the same time
Declaration
bool IsThreadSafe { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Deserialize(Stream)
Declaration
object Deserialize(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Object |
|
Serialize(Stream, Object)
Declaration
void Serialize(Stream stream, object root)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Object |
root |
|
Extension Methods