Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 2.82 KB

TextSerializationContext.md

File metadata and controls

25 lines (18 loc) · 2.82 KB

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.