DryIocExtensions.

WithUndefinedTestDependenciesResolver(Rules, Func<Request, object>) Method

Summary

Adds support for auto stub/mock/faking dependencies that are not already in the container.

Syntax

public static Rules WithUndefinedTestDependenciesResolver(this Rules rules, Func<Request, object> creator)

Parameters

Name Type Description
rules Rules
creator Func<Request, object>

Return Value

Type Description
Rules