TextSerializationContext.md
March 19, 2022 · View on GitHub
DefaultEcs
DefaultEcs.Serialization
TextSerializationContext Class
Represents a context used by the TextSerializer to convert types during serialization and deserialization operations.
public sealed class TextSerializationContext :
System.IDisposable
Inheritance 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. |