public void Configure(IReceiveEndpointBuilder builder)
        {
            builder.SetMessageSerializer(CreateSerializer);

            builder.AddMessageDeserializer(EncryptedMessageSerializer.EncryptedContentType, CreateDeserializer);
        }
 public void Configure(IReceiveEndpointBuilder builder)
 {
     builder.AddMessageDeserializer(_contentType, _deserializerFactory);
 }
 public void Configure(IReceiveEndpointBuilder builder)
 {
     builder.AddMessageDeserializer(_contentType, _deserializerFactory);
 }
        public void Configure(IReceiveEndpointBuilder builder)
        {
            builder.SetMessageSerializer(CreateSerializer);

            builder.AddMessageDeserializer(EncryptedMessageSerializer.EncryptedContentType, CreateDeserializer);
        }