Synced
EditorInteractions.RegisterIdentityDomain
Section titled “EditorInteractions.RegisterIdentityDomain”
- Makes a temporary Core identity domain available to selection, focus and drag resolution.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public System.IDisposable Inno.Editor.Interactions.EditorInteractions.RegisterIdentityDomain(Inno.Core.Identity.IdentityAllocator allocator)Parameters
Section titled “Parameters”Parameter allocator: The borrowed allocator owned by the temporary runtime session.
Returns
Section titled “Returns”A routing lease; retire it after restoring Edit selection and before releasing the session.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The allocator is null.
Exception T:System.InvalidOperationException: The domain is already registered or the caller is not the owner thread.
Exception T:System.ObjectDisposedException: The interaction runtime has retired its identity routing.