Skip to content

ProtobufCodec Constructors

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.

ProtobufCodec(IEnumerable<ICodecSelector>, IEnumerable<ICopierSelector>)

View source
public ProtobufCodec(IEnumerable<ICodecSelector> serializableTypeSelectors, IEnumerable<ICopierSelector> copyableTypeSelectors)
Initializes a new instance of the ProtobufCodec class.

Parameters

serializableTypeSelectorsIEnumerable<ICodecSelector>
Filters used to indicate which types should be serialized by this codec.
copyableTypeSelectorsIEnumerable<ICopierSelector>
Filters used to indicate which types should be copied by this codec.