Interface IProtoApplicationBuilder
Configures one named application under test. Integrations extend it — for example
app.AddRest(rest => rest.AddClient("Orders")) — to expose the protocols and clients the
application supports. The first client registered for a protocol becomes that protocol's default.
public interface IProtoApplicationBuilder
- Extension Methods
Properties
ApplicationName
Gets the application name, matching [Application(name)] and configuration.
string ApplicationName { get; }
Property Value
Services
Gets the service collection the application's clients are registered into.
IServiceCollection Services { get; }
Property Value
Methods
RegisterClient(string, string)
Records a named client of a protocol so accessors can resolve it by application.
void RegisterClient(string protocolName, string clientName)