4 references to ContentTypeEqualsOrStartsWith
System.ServiceModel (4)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (4)
942
if (!
ContentTypeEqualsOrStartsWith
(contentType, this.ContentType))
949
if (this.factory.CompressionFormat == CompressionFormat.GZip &&
ContentTypeEqualsOrStartsWith
(contentType, this.gzipCompressedContentType))
953
else if (this.factory.CompressionFormat == CompressionFormat.Deflate &&
ContentTypeEqualsOrStartsWith
(contentType, this.deflateCompressedContentType))
957
else if (
ContentTypeEqualsOrStartsWith
(contentType, this.normalContentType))