Event InstanceDisposed
Raised when an IApplication instance is disposed.
public static event EventHandler<EventArgs<IApplication>>? InstanceDisposed
Returns
- EventHandler<EventArgs<IApplication>>
- Raised when an instance is disposed.
Remarks
This event is for the modern instance-based model only. It fires when Dispose() is called on an instance.
This event is thread-local, meaning each thread has its own set of subscribers. This enables parallel test execution where each test thread can independently monitor application instances disposed on that thread.