Synced
SerializationContext
Section titled “SerializationContext”
- Provides immutable, operation-independent context to serialization converters.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Core.Serialization
Scope: Runtime
Declaration
Section titled “Declaration”public sealed class InnoEngine.Serialization.SerializationContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | SerializationContext.Constructor | Appears in the generated script reference without a matching public or protected engine constructor. |
| 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. |