Synced
SerializationContext
Section titled “SerializationContext”
- Provides immutable, operation-independent context to serialization converters.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public sealed class Inno.Core.Serialization.SerializationContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | SerializationContext.GetRequired | Resolves a value registered under the exact context contract type. |
| Methods | SerializationContext.TryGet | Attempts to resolve a value registered under the exact context contract type. |
| Methods | SerializationContext.With | Returns a new context containing the supplied value under its declared context type. |
| Properties | SerializationContext.empty | Gets an empty serialization context. |