AutoFake.

AutoFake(IContainer, Func<IContainer, IContainer>, Action<IFakeOptions>) Constructor

Summary

Create a container that automatically fakes unknown types

Syntax

public AutoFake(IContainer container = null, Func<IContainer, IContainer> configureAction = null, Action<IFakeOptions> fakeOptionsAction = null)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
container IContainer
configureAction Func<IContainer, IContainer>
fakeOptionsAction Action<IFakeOptions>

Return Value

Type Description
void