Synced
IdentityAllocator.Get
Section titled “IdentityAllocator.Get”
- Resolves a registered object by its persistent identity.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Identity
Declaration
Section titled “Declaration”public TIdentity? Inno.Core.Identity.IdentityAllocator.Get<TIdentity>(System.Guid persistentId) where TIdentity : Inno.Core.Identity.IdentityObjectType parameters
Section titled “Type parameters”Type parameter TIdentity: The required identity object contract.
Parameters
Section titled “Parameters”Parameter persistentId: The non-empty persistent identity to resolve.
Returns
Section titled “Returns”The live compatible object, or null when no matching object exists.