# ConsulGatewayListProvider Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/)

## ConsulGatewayListProvider(ILogger&lt;ConsulGatewayListProvider&gt;, IOptions&lt;ConsulClusteringOptions&gt;, IOptions&lt;GatewayOptions&gt;, IOptions&lt;ClusterOptions&gt;) {#constructor-microsoft-extensions-logging-ilogger-orleans-runtime-membership-cons-85dfc57e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/constructors/constructor-microsoft-extensions-logging-ilogger-orleans-runtime-membership-cons-85dfc57e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs#L23-L34)

```csharp
public ConsulGatewayListProvider(ILogger<ConsulGatewayListProvider> logger, IOptions<ConsulClusteringOptions> options, IOptions<GatewayOptions> gatewayOptions, IOptions<ClusterOptions> clusterOptions)
```

### Parameters

- `logger` (`ILogger<ConsulGatewayListProvider>`)
- `options` (`IOptions<ConsulClusteringOptions>`)
- `gatewayOptions` (`IOptions<GatewayOptions>`)
- `clusterOptions` (`IOptions<ClusterOptions>`)
