Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Binds a value until the returned scope is retired in strict last-in-first-out order.

API: engine
Project: Inno.Core.Execution

public System.IDisposable Inno.Core.Execution.ExecutionSlot<TValue>.Enter(TValue value, bool threadAffine = false)

Parameter value: The service or value owned by the enclosing lifetime.

Parameter threadAffine: Whether access and retirement require the entering thread.

A scope that revokes inherited bindings and clears their strong references on retirement.

Exception T:System.ArgumentNullException: The value is null.