Summary
Resolve the specified type in the container (register specified instance if needed).
- Assembly
- Rocket
.Surgery .Extensions .Testing .NSubstitute .dll - Namespace
- Rocket
.Surgery .Extensions .Testing - Containing Type
- AutoSubstitute
Syntax
public TService Provide<TService, TImplementation>() where TImplementation : TService
Type Parameters
| Name | Description |
|---|---|
| TService | The type of the service. |
| TImplementation | The type of the implementation. |
Return Value
| Type | Description |
|---|---|
| TService | The instance resolved from container. |
