TextSerializer<TTargetType>.Serialize method
Serializes a single TargetType object into a properly formatted record string.
public string Serialize(TTargetType obj)
| parameter | description |
|---|---|
| obj | Object to serialize |
Return Value
Record string
Exceptions
| exception | condition |
|---|---|
| TextSerializationException | Thrown if an invalid class member is encountered. |
See Also
- class TextSerializer<TTargetType>
- namespace TheCodingMonkey.Serialization