AutoMocker.Combine method (1 of 11)

April 20, 2021 · View on GitHub

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemented by the same instance.

public void Combine(Type type, params Type[] forwardTo)

See Also


AutoMocker.Combine<TService,TAsWellAs1> method (2 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void Combine<TService, TAsWellAs1>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2> method (3 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void Combine<TService, TAsWellAs1, TAsWellAs2>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3> method (4 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4> method (5 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5> method (6 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5,TAsWellAs6> method (7 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void 
    Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5, TAsWellAs6>()

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5,TAsWellAs6,TAsWellAs7> method (8 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void 
    Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5, TAsWellAs6, TAsWellAs7>(
    )

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5,TAsWellAs6,TAsWellAs7,TAsWellAs8> method (9 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void 
    Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5, TAsWellAs6, TAsWellAs7, TAsWellAs8>(
    )

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5,TAsWellAs6,TAsWellAs7,TAsWellAs8,TAsWellAs9> method (10 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void 
    Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5, TAsWellAs6, TAsWellAs7, TAsWellAs8, TAsWellAs9>(
    )

See Also


AutoMocker.Combine<TService,TAsWellAs1,TAsWellAs2,TAsWellAs3,TAsWellAs4,TAsWellAs5,TAsWellAs6,TAsWellAs7,TAsWellAs8,TAsWellAs9,TAsWellAs10> method (11 of 11)

Combines all given types so that they are mocked by the same mock. Some IoC containers call this "Forwarding" one type to other interfaces. In the end, this just means that all given types will be implemnted by the same instance.

public void 
    Combine<TService, TAsWellAs1, TAsWellAs2, TAsWellAs3, TAsWellAs4, TAsWellAs5, TAsWellAs6, TAsWellAs7, TAsWellAs8, TAsWellAs9, TAsWellAs10>(
    )

See Also