Summary
Create a container that automatically substitutes unknown types.
- Assembly
- Rocket
.Surgery .Extensions .Testing .NSubstitute .dll - Namespace
- Rocket
.Surgery .Extensions .Testing - Containing Type
- AutoSubstitute
Syntax
public AutoSubstitute(IContainer container = null, Func<IContainer, IContainer> configureAction = null)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| container | IContainer | |
| configureAction | Func |
Return Value
| Type | Description |
|---|---|
| void |
