# AttributeGrainPropertiesProvider

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs#L296)

```csharp
public sealed class AttributeGrainPropertiesProvider : IGrainPropertiesProvider
```

Provides grain interface properties from attributes implementing [IGrainPropertiesProviderAttribute](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.igrainpropertiesproviderattribute/).

## Constructors

- [AttributeGrainPropertiesProvider(IServiceProvider)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.attributegrainpropertiesprovider/constructors/constructor-system-iserviceprovider-62ec7710/)

## Methods

- [Populate(Type, GrainType, Dictionary&lt;string, string&gt;)](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.metadata.attributegrainpropertiesprovider/methods/populate-system-type-orleans-runtime-graintype-system-collections-generic-dictio-7aa0f638/)
