# StaticGatewayListProvider

Package: [Microsoft.Orleans.Core](/orleans/docs/api/csharp/microsoft.orleans.core/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core/Messaging/StaticGatewayListProvider.cs#L12)

```csharp
public class StaticGatewayListProvider : IGatewayListProvider
```

[IGatewayListProvider](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.igatewaylistprovider/) implementation which returns a static list, configured via [StaticGatewayListProviderOptions](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.configuration.staticgatewaylistprovideroptions/).

## Constructors

- [StaticGatewayListProvider(IOptions&lt;StaticGatewayListProviderOptions&gt;, IOptions&lt;GatewayOptions&gt;)](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.staticgatewaylistprovider/constructors/constructor-microsoft-extensions-options-ioptions-orleans-configuration-staticga-d9929954/)

## Properties

- [IsUpdatable](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.staticgatewaylistprovider/properties/isupdatable-0b1b4fdd/)
- [MaxStaleness](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.staticgatewaylistprovider/properties/maxstaleness-4c169e32/)

## Methods

- [GetGateways](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.staticgatewaylistprovider/methods/getgateways-f34c5243/)
- [InitializeGatewayListProvider](/orleans/docs/api/csharp/microsoft.orleans.core/orleans.messaging.staticgatewaylistprovider/methods/initializegatewaylistprovider-c5e6ce70/)
