# RegisterSerializerAttribute

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)

```csharp
public sealed class RegisterSerializerAttribute : Attribute
```

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

## See also

- `System.Attribute`

## Constructors

- [RegisterSerializerAttribute](/orleans/docs/api/csharp/microsoft.orleans.serialization.abstractions/orleans.registerserializerattribute/constructors/constructor-0f1e2f31/)
