# ConsulGatewayListProvider

Package: [Microsoft.Orleans.Clustering.Consul](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Clustering.Consul) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs#L14)

```csharp
public class ConsulGatewayListProvider : IGatewayListProvider
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [ConsulGatewayListProvider(ILogger&lt;ConsulGatewayListProvider&gt;, IOptions&lt;ConsulClusteringOptions&gt;, IOptions&lt;GatewayOptions&gt;, IOptions&lt;ClusterOptions&gt;)](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/constructors/constructor-microsoft-extensions-logging-ilogger-orleans-runtime-membership-cons-85dfc57e/)

## Properties

- [IsUpdatable](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/properties/isupdatable-2bc4e087/)
- [MaxStaleness](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/properties/maxstaleness-2d616770/)

## Methods

- [GetGateways](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/methods/getgateways-c58cd5d5/)
- [InitializeGatewayListProvider](/orleans/docs/api/csharp/microsoft.orleans.clustering.consul/orleans.runtime.membership.consulgatewaylistprovider/methods/initializegatewaylistprovider-e1a38546/)
