Synced
ContentReadScope.TryGetValue
Section titled “ContentReadScope.TryGetValue”
- Resolves a selected root without rebinding a stale snapshot to a replacement generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.References
Declaration
Section titled “Declaration”public bool Inno.References.ContentReadScope.TryGetValue<TValue>(System.Guid id, out TValue? value) where TValue : Inno.Core.Identity.IdentityObjectType parameters
Section titled “Type parameters”Type parameter TValue: The required identity-backed root type.
Parameters
Section titled “Parameters”Parameter id: The persistent identity selecting a root already captured by this scope.
Parameter value: The live compatible object, or null when unavailable.
Returns
Section titled “Returns”True only when the captured runtime identity is still live and compatible.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: The operation scope has ended.
Exception T:System.InvalidOperationException: Lookup occurs off the owning control thread.