Synced
LayerStack.Clear
Section titled “LayerStack.Clear”
- Detaches every layer in top-to-bottom order while keeping this stack reusable.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Layers
Declaration
Section titled “Declaration”public void Inno.Core.Layers.LayerStack.Clear()Exceptions
Section titled “Exceptions”Exception T:Inno.Core.Execution.RetirementPendingException: Cleanup is incomplete. The remaining layers stay owned; only Clear or Dispose may resume cleanup.
Exception T:System.AggregateException: Thrown after cleanup completes when multiple layers fail to detach.
Exception T:System.ObjectDisposedException: Thrown when this stack has been disposed.