xUnit.net
Public Member Functions | List of all members
Xunit.IAsyncLifetime Interface Reference

Used to provide asynchronous lifetime functionality. Currently supported: More...

Public Member Functions

Task InitializeAsync ()
 Called immediately after the class has been created, before it is used. More...
 
Task DisposeAsync ()
 Called when an object is no longer needed. Called just before IDisposable.Dispose if the class also implements that. More...
 

Detailed Description

Used to provide asynchronous lifetime functionality. Currently supported:

Member Function Documentation

◆ DisposeAsync()

Task Xunit.IAsyncLifetime.DisposeAsync ( )

Called when an object is no longer needed. Called just before IDisposable.Dispose if the class also implements that.

◆ InitializeAsync()

Task Xunit.IAsyncLifetime.InitializeAsync ( )

Called immediately after the class has been created, before it is used.


The documentation for this interface was generated from the following file: