Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Pins one immutable converter generation so serialization remains deterministic across asynchronous continuations and extension reloads.

API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Core.Serialization

public sealed class Inno.Core.Serialization.SerializationGeneration : System.IDisposable

A generation may execute operations from any thread after it has been captured. The owner must dispose it when the surrounding transaction completes so collectible extension generations can unload.

Kind Element Description
Methods SerializationGeneration.Decode Decodes a manually defined structured root using the converter generation captured by this instance.
Methods SerializationGeneration.Deserialize Deserializes a complete root object using the converter generation captured by this instance.
Methods SerializationGeneration.Dispose Releases the pinned converter generation and every collectible type reference owned by this lease.
Methods SerializationGeneration.Encode Encodes a manually defined structured root using the converter generation captured by this instance.
Methods SerializationGeneration.Serialize Serializes a complete root object using the converter generation captured by this instance.