# ImplicitStreamSubscriptionAttribute Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.implicitstreamsubscriptionattribute/)

## GetBindings(IServiceProvider, Type, GrainType) {#getbindings-system-iserviceprovider-system-type-orleans-runtime-graintype-1a60d928}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.implicitstreamsubscriptionattribute/methods/getbindings-system-iserviceprovider-system-type-orleans-runtime-graintype-1a60d928/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Predicates/StreamSubscriptionAttributes.cs#L77-L104)

```csharp
public IEnumerable<Dictionary<string, string>> GetBindings(IServiceProvider services, Type grainClass, GrainType grainType)
```

Gets bindings for the type this attribute is attached to.

### Parameters

- `services` (`IServiceProvider`): The service provider.
- `grainClass` (`Type`): The grain class.
- `grainType` (`GrainType`): The grain type.

### Returns

The bindings for the specified grain.
