Synced
SerializationCaptureKeyBuilder
Section titled “SerializationCaptureKeyBuilder”
- Builds an exact neutral key during one owned synchronous converter capture callback.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public sealed class Inno.Core.Serialization.SerializationCaptureKeyBuilderRemarks
Section titled “Remarks”Only current Core identities, revisions, metadata stamps and neutral values enter the key. Key storage is not serialized or restored. Every failed TryAdd invalidates the whole key. The borrowed builder retires after the callback.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | SerializationCaptureKeyBuilder.AddText | Adds exact ordinal text, preserving the distinction between null and empty. |
| Methods | SerializationCaptureKeyBuilder.AddValue(System.Guid) | Adds an exact neutral identifier without hashing or allocating text. |
| Methods | SerializationCaptureKeyBuilder.AddValue(System.UInt64) | Adds an exact neutral numeric input to the declared key. |
| Methods | SerializationCaptureKeyBuilder.EnsureCapacity | Reserves capacity for actual frozen input entries without changing a matching key. |
| Methods | SerializationCaptureKeyBuilder.TryAddOwner | Adds an owner revision through its current Core identity; a null revision or detached source invalidates the key. |
| Methods | SerializationCaptureKeyBuilder.TryAddProperties | Adds a complete property revision only when current metadata proves context-free default capture without converters. |
| Properties | SerializationCaptureKeyBuilder.context | Gets the current immutable owner context while this callback is active. |