# AttributeGrainPropertiesProvider Methods

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

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

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

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

```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.
