Class TestActorScope
Captures the current Actor and restores it on dispose.
Created by WithActor(Actor).
Supports both await using and using patterns.
public sealed class TestActorScope : IAsyncDisposable, IDisposable
- Inheritance
-
TestActorScope
- Implements
- Inherited Members
- Extension Methods
Methods
Dispose()
Restores the previous actor on the TestActorProvider.
public void Dispose()
DisposeAsync()
Restores the previous actor on the TestActorProvider.
public ValueTask DisposeAsync()