Summary
Check if this is a test host (to allow conventions to behave differently during unit tests)
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Containing Type
- Convention
Host Builder Extensions
Syntax
public static bool IsUnitTestHost(this IServiceProviderDictionary serviceProviderDictionary)
Parameters
| Name | Type | Description |
|---|---|---|
| serviceProviderDictionary | I |
The properties |
Return Value
| Type | Description |
|---|---|
| bool |
