Synced
ContentReadScope
Section titled “ContentReadScope”
- Exposes ordered content roots through weak, generation-checked identity snapshots for one control-thread operation.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.References
Scope: Runtime
Declaration
Section titled “Declaration”public sealed class InnoEngine.References.ContentReadScope : System.IDisposableRemarks
Section titled “Remarks”Disposing the scope revokes lookup. Copy values into domain snapshots; never retain resolved objects across frames or reloads.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ContentReadScope.Constructor | Captures immutable root identities without retaining their live objects or registry. |
| Methods | ContentReadScope.Dispose | Revokes all future root resolution without affecting the owner objects. |
| Methods | ContentReadScope.GetValues | Resolves all live roots matching the requested content contract. |
| Methods | ContentReadScope.TryGetValue | Resolves a selected root without rebinding a stale snapshot to a replacement generation. |
| Properties | ContentReadScope.activeContent | Gets the optional persistent identity selected as primary content. |
| Properties | ContentReadScope.contents | Gets the ordered weak identity snapshots; no live root object is retained. |
| Properties | ContentReadScope.empty | Gets a new empty operation scope owned by the caller. |