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;
 }
示例#3
0
 public CompressionMessageEncoderFactory(MessageEncoderFactory innerMessageEncoderFactory, MessageCompressor messageCompressor)
 {
     this.InnerMessageEncoderFactory = innerMessageEncoderFactory;
     this.MessageCompressor          = messageCompressor;
 }