Class ProtobufSerializationRegistry
public class ProtobufSerializationRegistry : IProtoSerializationRegistry
- Inheritance
-
ProtobufSerializationRegistry
- Implements
- Inherited Members
Properties
TypeNameResolver
public ITypeNameResolver TypeNameResolver { get; }
Property Value
Methods
Exists(Type)
public bool Exists(Type type)
Parameters
type
Type
Returns
GetSerializer(string)
public IProtobufMessageSerializer? GetSerializer(string typeName)
Parameters
typeName
string
Returns
GetSerializer(Type)
Gets the serializer for the specified type.
public IProtobufMessageSerializer? GetSerializer(Type type)
Parameters
type
TypeThe type to get the serializer for.
Returns
- IProtobufMessageSerializer
The serializer for the specified type.
RegisterSerializer(Type, IProtobufMessageSerializer)
public void RegisterSerializer(Type type, IProtobufMessageSerializer serializer)
Parameters
type
Typeserializer
IProtobufMessageSerializer