6 references to GetEncodingFromContentType
System.ServiceModel (6)
System\ServiceModel\Channels\MtomMessageEncoder.cs (4)
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 (2)
419
messageData.Encoding =
GetEncodingFromContentType
(contentType, this.contentEncodingMap);
452
XmlReader reader = TakeStreamedReader(stream,
GetEncodingFromContentType
(contentType, this.contentEncodingMap));