Skip to content

Commit da2e0ca

Browse files
authored
Update README.md in the scope of #241
1 parent af65f64 commit da2e0ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public T GetScopedService<T>(ITestOutputHelper testOutputHelper);
3636
public T GetService<T>(ITestOutputHelper testOutputHelper);
3737
```
3838

39+
To access async scopes simply call the following method in the abstract fixture class:
40+
41+
```csharp
42+
public AsyncServiceScope GetAsyncScope<T>(ITestOutputHelper testOutputHelper)
43+
```
44+
3945
### Adding custom logging provider
4046
Test developers can add their own desired logger provider by overriding ```AddLoggingProvider(...)``` virtual method defined in ```TestBedFixture``` class.
4147

0 commit comments

Comments
 (0)