1 write to factory
System.ServiceModel (1)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
425
this.
factory
= factory;
18 references to factory
System.ServiceModel (18)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (18)
432
this.sessionCompressionFormat = this.
factory
.CompressionFormat;
433
this.maxReceivedMessageSize = this.
factory
.MaxReceivedMessageSize;
435
switch (this.
factory
.CompressionFormat)
459
get { return
factory
.messageVersion; }
474
get { return this.
factory
.CompressionFormat != CompressionFormat.None; }
636
messagePatterns = new MessagePatterns(
factory
.binaryVersion.Dictionary, readerSession, this.MessageVersion);
648
BinaryBufferedMessageData messageData =
factory
.TakeBufferedData(this);
706
XmlDictionaryReader reader =
factory
.TakeStreamedReader(stream);
707
Message message = Message.CreateMessage(reader, maxSizeOfHeaders,
factory
.messageVersion);
756
sessionMessageWriter = new BinaryBufferedMessageWriter(
factory
.binaryVersion.Dictionary, writerSession);
785
messageWriter =
factory
.TakeBufferedWriter();
818
factory
.ReturnMessageWriter(messageWriter);
864
XmlDictionaryWriter xmlWriter =
factory
.TakeStreamedWriter(stream);
873
factory
.ReturnStreamedWriter(xmlWriter);
891
supported = (this.
factory
.CompressionFormat == CompressionFormat.GZip &&
893
(this.
factory
.CompressionFormat == CompressionFormat.Deflate &&
949
if (this.
factory
.CompressionFormat == CompressionFormat.GZip && ContentTypeEqualsOrStartsWith(contentType, this.gzipCompressedContentType))
953
else if (this.
factory
.CompressionFormat == CompressionFormat.Deflate && ContentTypeEqualsOrStartsWith(contentType, this.deflateCompressedContentType))