# RegisterProviderAttribute

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

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

```csharp
public sealed class RegisterProviderAttribute : Attribute
```

When applied to a type, indicates that the type is a provider and that it should be automatically registered.

## See also

- `System.Attribute`

## Constructors

- [RegisterProviderAttribute(string, string, string, Type)](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerproviderattribute/constructors/constructor-string-string-string-system-type-e51a0990/)

## Properties

- [Kind](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerproviderattribute/properties/kind-8a8aa81b/)
- [Name](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerproviderattribute/properties/name-9131a36e/)
- [Target](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerproviderattribute/properties/target-eb304b30/)
- [Type](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerproviderattribute/properties/type-99277952/)
