AutoSubstitute.

AutoSubstitute(IContainer, Func<IContainer, IContainer>) Constructor

Summary

Create a container that automatically substitutes unknown types.

Syntax

public AutoSubstitute(IContainer container = null, Func<IContainer, IContainer> configureAction = null)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
container IContainer
configureAction Func<IContainer, IContainer>

Return Value

Type Description
void