Method InitializeAsync
- Namespace
- Xunit
- Assembly
- xunit.v3.core.aot.dll
InitializeAsync()
Called immediately after the class has been created, before it is used.
ValueTask InitializeAsync()
Returns
Remarks
If this method throws an exception, then DisposeAsync() will not be called. This mirrors the behavior of constructors and usage of IDisposable/IAsyncDisposable, since this method is intended as the equivalent of an async constructor.