Click or drag to resize

AutoMockGetStrict Method (ActionContainerBuilder)

Create new AutoMock instance with strict mock behavior.

Namespace:  Autofac.Extras.Moq
Assembly:  Autofac.Extras.Moq (in Autofac.Extras.Moq.dll) Version: 6.0.0+4195b730a1f4c2330f7a6e7642c9ad63581968b7
Syntax
public static AutoMock GetStrict(
	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 strict behavior.
See Also