2 instantiations of TextMessageEncoderFactory
System.ServiceModel (2)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (1)
166
return new
TextMessageEncoderFactory
(MessageVersion, WriteEncoding, this.MaxReadPoolSize, this.MaxWritePoolSize, this.ReaderQuotas);
System\ServiceModel\Channels\TransportDefaults.cs (1)
373
return new
TextMessageEncoderFactory
(MessageVersion.Default, TextEncoderDefaults.Encoding, EncoderDefaults.MaxReadPoolSize, EncoderDefaults.MaxWritePoolSize, EncoderDefaults.ReaderQuotas);
20 references to TextMessageEncoderFactory
System.ServiceModel (20)
System\ServiceModel\Channels\MtomMessageEncoder.cs (11)
94
internal
TextMessageEncoderFactory
.ContentEncoding[] contentEncodingMap;
125
this.contentEncodingMap =
TextMessageEncoderFactory
.Soap12Content;
129
this.contentEncodingMap =
TextMessageEncoderFactory
.Soap11Content;
197
string textMediaType =
TextMessageEncoderFactory
.GetMediaType(version);
198
string textContentType =
TextMessageEncoderFactory
.GetContentType(textMediaType, writeEncoding);
220
return (version.Envelope == EnvelopeVersion.Soap12) ?
TextMessageEncoderFactory
.Soap12MediaType :
TextMessageEncoderFactory
.Soap11MediaType;
553
((IXmlTextReaderInitializer)xmlReader).SetInput(stream,
TextMessageEncoderFactory
.GetEncodingFromContentType(contentType, this.contentEncodingMap), this.readerQuotas, onStreamedReaderClose);
557
xmlReader = XmlDictionaryReader.CreateTextReader(stream,
TextMessageEncoderFactory
.GetEncodingFromContentType(contentType, this.contentEncodingMap), this.readerQuotas, onStreamedReaderClose);
663
((IXmlTextReaderInitializer)xmlReader).SetInput(buffer.Array, buffer.Offset, buffer.Count,
TextMessageEncoderFactory
.GetEncodingFromContentType(ContentType, this.messageEncoder.contentEncodingMap), this.Quotas, onClose);
667
xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count,
TextMessageEncoderFactory
.GetEncodingFromContentType(ContentType, this.messageEncoder.contentEncodingMap), this.Quotas, onClose);
System\ServiceModel\Channels\TextMessageEncoder.cs (9)
72
mediaType =
TextMessageEncoderFactory
.Soap12MediaType;
76
mediaType =
TextMessageEncoderFactory
.Soap11MediaType;
80
mediaType =
TextMessageEncoderFactory
.XmlMediaType;
97
Encoding[] readEncodings =
TextMessageEncoderFactory
.GetSupportedEncodings();
293
this.mediaType =
TextMessageEncoderFactory
.GetMediaType(version);
294
this.contentType =
TextMessageEncoderFactory
.GetContentType(mediaType, writeEncoding);
297
contentEncodingMap =
TextMessageEncoderFactory
.Soap12Content;
301
contentEncodingMap =
TextMessageEncoderFactory
.Soap11Content;
305
contentEncodingMap =
TextMessageEncoderFactory
.SoapNoneContent;