Represents a context used by the TextSerializer to convert types during serialization and deserialization operations.
public sealed class TextSerializationContext :
System.IDisposableInheritance System.Object 🡒 TextSerializationContext
Implements System.IDisposable
| Constructors | |
|---|---|
| TextSerializationContext() | Initializes a new instance of the TextSerializationContext class. |
| Methods | |
|---|---|
| Dispose() | Releases inner resources. |
| Marshal<TIn,TOut>(Func<TIn,TOut>) | Adds a convertion between the type TIn and the type TOut during a serialization operation. |
| Unmarshal<TIn,TOut>(Func<TIn,TOut>) | Adds a convertion between the type TIn and the type TOut during a deserialization operation. |