# IConfigureGrainContextProvider

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

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime)

```csharp
public interface IConfigureGrainContextProvider
```

Provides a [IConfigureGrainContext](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.iconfiguregraincontext/) instance for the provided grain type.

## Methods

- [TryGetConfigurator(GrainType, GrainProperties, IConfigureGrainContext)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.iconfiguregraincontextprovider/methods/trygetconfigurator-orleans-runtime-graintype-orleans-metadata-grainproperties-ou-98f534bc/)
