# ProtobufCodec

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

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

```csharp
[Orleans.Alias(protobuf)]
public sealed class ProtobufCodec : IDeepCopier, IGeneralizedCopier, IFieldCodec, ITypeFilter, IGeneralizedCodec
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [ProtobufCodec(IEnumerable&lt;ICodecSelector&gt;, IEnumerable&lt;ICopierSelector&gt;)](/orleans/docs/api/csharp/microsoft.orleans.serialization.protobuf/orleans.serialization.protobufcodec/constructors/constructor-system-collections-generic-ienumerable-orleans-serialization-seriali-deaa05b3/)

## Methods

- [DeepCopy(object, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization.protobuf/orleans.serialization.protobufcodec/methods/deepcopy-object-orleans-serialization-cloning-copycontext-a6d79cce/)

## Fields

- [WellKnownAlias](/orleans/docs/api/csharp/microsoft.orleans.serialization.protobuf/orleans.serialization.protobufcodec/fields/wellknownalias-fc61eb7a/)
