Class MessagePackSerializerPlugin
- Namespace
- Nerdbank.JsonRpc
- Assembly
- Nerdbank.JsonRpc.dll
Adapts a configured MessagePack serializer.
[GenerateShapeFor<JsonNode>]
public sealed class MessagePackSerializerPlugin : JsonRpcSerializer, IShapeable<JsonNode>
- Inheritance
-
MessagePackSerializerPlugin
- Implements
- Inherited Members
Constructors
MessagePackSerializerPlugin(MessagePackSerializer)
Initializes a new instance of the MessagePackSerializerPlugin class.
public MessagePackSerializerPlugin(MessagePackSerializer serializer)
Parameters
serializerMessagePackSerializerThe configured serializer.
Properties
Encoding
Gets the wire encoding.
public override JsonRpcEncoding Encoding { get; }
Property Value
GeneratedTypeShapeProvider
Gets the source generated SourceGenTypeShapeProvider corresponding to the current assembly.
public static SourceGenTypeShapeProvider GeneratedTypeShapeProvider { get; }
Property Value
Serializer
Gets the configured serializer.
public MessagePackSerializer Serializer { get; }