# IGrainInterfacePropertiesProviderAttribute Methods

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

## Populate(IServiceProvider, Type, Dictionary&lt;string, string&gt;) {#populate-system-iserviceprovider-system-type-system-collections-generic-dictiona-f6488645}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.igraininterfacepropertiesproviderattribute/methods/populate-system-iserviceprovider-system-type-system-collections-generic-dictiona-f6488645/)

```csharp
public abstract void Populate(IServiceProvider services, Type interfaceType, Dictionary<string, string> properties)
```

Adds grain interface properties to `properties`.

### Parameters

- `services` (`IServiceProvider`): The service provider.
- `interfaceType` (`Type`): The interface type.
- `properties` (`Dictionary<string, string>`): The properties collection which this calls to this method should populate.
