Class ProtoInfrastructureExtensions

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll
public static class ProtoInfrastructureExtensions
Inheritance
ProtoInfrastructureExtensions
Inherited Members

Methods

AddInfrastructure(IProtoHostBuilder, IProtoInfrastructure, params string[])

Registers infrastructure the host starts before the run. Every key in settings receives the started connection string, so the tests and an in-process application can read it under their own configuration roots.

public static IProtoHostBuilder AddInfrastructure(this IProtoHostBuilder builder, IProtoInfrastructure infrastructure, params string[] settings)

Parameters

builder IProtoHostBuilder
infrastructure IProtoInfrastructure
settings string[]

Returns

IProtoHostBuilder