Summary
Adds support for resolving generic ILoggers from the DI Container and allowing the loggers to be wrapped
if desired
- Assembly
- Rocket
.Surgery .Extensions .Testing .dll - Namespace
- Rocket
.Surgery .Extensions .Testing - Containing Type
- DryIocExtensions
Syntax
public static Rules WithTestLoggerResolver(this Rules rules, Func<Request, Type, object> creator)
Parameters
Name | Type | Description |
---|---|---|
rules | Rules | |
creator | Func |
Return Value
Type | Description |
---|---|
Rules |