Method | Description | |
---|---|---|
IsSerializable ( object o ) : bool |
Tests whether the specified object is serializable.
|
|
SerializeAndDeserialize ( object o ) : object |
Serializes the specified object to an in-memory stream, and returns the result of deserializing the object stream.
|
|
TrySerialization ( object o ) : void |
Attempts to serialize the specified object to an in-memory stream.
|
Method | Description | |
---|---|---|
WithNonSerializableObject ( ) : void | ||
WithSerializableObject ( ) : void |
public static IsSerializable ( object o ) : bool | ||
o | object | the object to test. |
return | bool |
public static SerializeAndDeserialize ( object o ) : object | ||
o | object | the object to use. |
return | object |
public static TrySerialization ( object o ) : void | ||
o | object | the object to serialize |
return | void |