Interface ISerializer
Handles serialization.
Namespace: SimpleVersion
Assembly: SimpleVersion.Abstractions.dll
Syntax
public interface ISerializer
Methods
| Improve this Doc View SourceDeserialize<T>(String)
Deserializes the given value
into an new
instance of T
.
Declaration
T Deserialize<T>(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | A string representation of |
Returns
Type | Description |
---|---|
T | An new instance of |
Type Parameters
Name | Description |
---|---|
T | The type to deserialize. |
Serialize(Object)
Serializes the given System.Object.
Declaration
string Serialize(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The instance value. |
Returns
Type | Description |
---|---|
System.String | A string representation of the given |