Click or drag to resize

AutoMockGetLoose Method (ActionContainerBuilder)

Create new AutoMock instance with loose mock behavior.

Namespace:  Autofac.Extras.Moq
Assembly:  Autofac.Extras.Moq (in Autofac.Extras.Moq.dll) Version: 6.0.0+4195b730a1f4c2330f7a6e7642c9ad63581968b7
Syntax
public static AutoMock GetLoose(
	Action<ContainerBuilder> beforeBuild
)

Parameters

beforeBuild
Type: SystemActionContainerBuilder
Callback before container was created, you can add your own components here.

Return Value

Type: AutoMock
Container initialized for loose behavior.
See Also