ProtobufCodec
class
Namespace: Orleans.Serialization
Provides serialization and deep-copy support for Protocol Buffers message types selected for the Protobuf codec.
[Orleans.Alias(protobuf)]public sealed class ProtobufCodec : IDeepCopier, IGeneralizedCopier, IFieldCodec, ITypeFilter, IGeneralizedCodecConstructors
ProtobufCodec(IEnumerable<ICodecSelector>, IEnumerable<ICopierSelector>)Initializes a new instance of theProtobufCodecclass.
Methods
DeepCopy(object?, CopyContext)Creates a deep copy of the provided untyped input. The type must still match the copier instance!
Fields
WellKnownAliasThe well-known alias used to select the Protobuf codec and copier.
