Exemplo n.º 1
0
 public MessageSerializer(SerializerResolverBuilder serializerResolverBuilder)
 {
     this.packetInspector    = new PacketInspector(new TypeInfo(typeof(MessageBody)));
     this.serializerResolver = serializerResolverBuilder.Build();
     this.headerSerializer   = new HeaderSerializer();
 }
 public MessageSerializer(SerializerResolverBuilder serializerResolverBuilder)
 {
     this.packetInspector    = new PacketInspector();
     this.serializerResolver = serializerResolverBuilder.Build();
     this.headerSerializer   = new HeaderSerializer();
 }
 public MessageSerializer(SerializerResolverBuilder serializerResolverBuilder)
 {
     this.packetInspector = new PacketInspector();
     this.serializerResolver = serializerResolverBuilder.Build();
     this.headerSerializer = new HeaderSerializer();
 }