# PersistentStateAttributeMapper

Package: [Microsoft.Orleans.Runtime](/orleans/docs/api/csharp/microsoft.orleans.runtime/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/Facet/Persistent/PersistentStateAttributeMapper.cs#L12)

```csharp
public class PersistentStateAttributeMapper : IAttributeToFactoryMapper<PersistentStateAttribute>
```

Attribute mapper which maps persistent state attributes to a corresponding factory instance.

## Constructors

- [PersistentStateAttributeMapper](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.persistentstateattributemapper/constructors/constructor-e1e5b493/)

## Methods

- [GetFactory(ParameterInfo, PersistentStateAttribute)](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.persistentstateattributemapper/methods/getfactory-system-reflection-parameterinfo-orleans-runtime-persistentstateattrib-e59f2108/)
