- Namespace
- CondenserDotNet
.Server - Containing Type
- Service
Collection Extensions
Syntax
public static IServiceCollection AddCondenser(this IServiceCollection self, string agentAddress, int agentPort, IHealthConfig health, IRoutingConfig routingConfig, IHttpClientConfig httpClientConfig, IEnumerable<IRoutingStrategy<IService>> strategies)
Parameters
| Name | Type | Description |
|---|---|---|
| self | IServiceCollection | |
| agentAddress | string | |
| agentPort | int | |
| health | IHealthConfig | |
| routingConfig | IRoutingConfig | |
| httpClientConfig | IHttpClientConfig | |
| strategies | IEnumerable |
Return Value
| Type | Description |
|---|---|
| IServiceCollection |
