# AttributeGrainBindingsProvider Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.attributegrainbindingsprovider/)

## Populate(Type, GrainType, Dictionary&lt;string, string&gt;) {#populate-system-type-orleans-runtime-graintype-system-collections-generic-dictio-482272db}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.attributegrainbindingsprovider/methods/populate-system-type-orleans-runtime-graintype-system-collections-generic-dictio-482272db/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs#L373-L391)

```csharp
public void Populate(Type grainClass, GrainType grainType, Dictionary<string, string> properties)
```

Adds grain properties to `properties`.

### Parameters

- `grainClass` (`Type`): The grain class.
- `grainType` (`GrainType`): The grain type id.
- `properties` (`Dictionary<string, string>`): The properties collection which calls to this method should populate.
