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
)
Public Shared Function GetStrict (
beforeBuild As Action(Of ContainerBuilder)
) As AutoMock
Parameters
- beforeBuild
- Type: SystemActionContainerBuilder
Callback before container was created, you can add your own components here.
Return Value
Type:
AutoMockContainer initialized for strict behavior.
See Also