MockerBlazorTestBase<(Of <(<'T>)>)>..::..Dispose Method

Disposes of the test context resources, in particular it disposes the Services()()()() service provider. Any async services registered with the service provider will disposed first, but their disposal will not be awaited..

Namespace:  FastMoq.Web.Blazor
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


protected void Dispose(
	bool disposing
)
Protected Sub Dispose ( _
	disposing As Boolean _
)
protected:
void Dispose(
	bool^ disposing
)

Parameters

disposing
Type: Boolean
Set to true if called from Dispose()()()(), false if called from a finalizer.f.

Remarks


The disposing parameter should be false when called from a finalizer, and true when called from the Dispose()()()() method. In other words, it is true when deterministically called and false when non-deterministically called.