public CompressionTextMessageEncodingBindingElement(TextMessageEncodingBindingElement textEncodingElement, CompressionAlgorithm algorithm, int minMessageSize) { this.TextEncodingElement = textEncodingElement; this.MessageCompressor = new MessageCompressor(algorithm, minMessageSize); }
public CompressionMessageEncoder(MessageEncoder innerMessageEncoder, MessageCompressor messageCompressor) { this.InnerMessageEncoder = innerMessageEncoder; this.MessageCompressor = messageCompressor; }
public CompressionMessageEncoderFactory(MessageEncoderFactory innerMessageEncoderFactory, MessageCompressor messageCompressor) { this.InnerMessageEncoderFactory = innerMessageEncoderFactory; this.MessageCompressor = messageCompressor; }