1 instantiation of TextMessageEncoderFactory
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (1)
148
return new
TextMessageEncoderFactory
(MessageVersion, WriteEncoding, MaxReadPoolSize, MaxWritePoolSize, ReaderQuotas);
20 references to TextMessageEncoderFactory
System.ServiceModel.Primitives (20)
System\ServiceModel\Channels\MtomMessageEncoder.cs (11)
51
ContentEncodingMap =
TextMessageEncoderFactory
.Soap12Content;
55
ContentEncodingMap =
TextMessageEncoderFactory
.Soap11Content;
76
internal
TextMessageEncoderFactory
.ContentEncoding[] ContentEncodingMap { get; }
205
((IXmlTextReaderInitializer)xmlReader).SetInput(stream,
TextMessageEncoderFactory
.GetEncodingFromContentType(contentType, ContentEncodingMap), ReaderQuotas, _onStreamedReaderClose);
209
xmlReader = XmlDictionaryReader.CreateTextReader(stream,
TextMessageEncoderFactory
.GetEncodingFromContentType(contentType, ContentEncodingMap), ReaderQuotas, _onStreamedReaderClose);
336
string textMediaType =
TextMessageEncoderFactory
.GetMediaType(_version);
337
string textContentType =
TextMessageEncoderFactory
.GetContentType(textMediaType, _writeEncoding);
359
return (_version.Envelope == EnvelopeVersion.Soap12) ?
TextMessageEncoderFactory
.Soap12MediaType :
TextMessageEncoderFactory
.Soap11MediaType;
634
((IXmlTextReaderInitializer)xmlReader).SetInput(buffer.Array, buffer.Offset, buffer.Count,
TextMessageEncoderFactory
.GetEncodingFromContentType(_contentType, _messageEncoder._factory.ContentEncodingMap), Quotas, _onClose);
638
xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count,
TextMessageEncoderFactory
.GetEncodingFromContentType(_contentType, _messageEncoder._factory.ContentEncodingMap), Quotas, _onClose);
System\ServiceModel\Channels\TextMessageEncoder.cs (9)
75
mediaType =
TextMessageEncoderFactory
.Soap12MediaType;
79
mediaType =
TextMessageEncoderFactory
.Soap11MediaType;
83
mediaType =
TextMessageEncoderFactory
.XmlMediaType;
100
Encoding[] readEncodings =
TextMessageEncoderFactory
.GetSupportedEncodings();
287
_mediaType =
TextMessageEncoderFactory
.GetMediaType(version);
288
_contentType =
TextMessageEncoderFactory
.GetContentType(_mediaType, writeEncoding);
291
_contentEncodingMap =
TextMessageEncoderFactory
.Soap12Content;
297
_contentEncodingMap =
TextMessageEncoderFactory
.Soap11Content;
301
_contentEncodingMap =
TextMessageEncoderFactory
.SoapNoneContent;