Event InstanceCreated
Raised when an IApplication instance is created via Create(ITimeProvider?).
public static event EventHandler<EventArgs<IApplication>>? InstanceCreated
Returns
- EventHandler<EventArgs<IApplication>>
- Raised when an instance is created via .
Remarks
This event is for the modern instance-based model only. It fires immediately after Create(ITimeProvider?) creates a new instance, before Init(string?) is called.
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 created on that thread.