6 references to ContentType
System.ServiceModel (6)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (3)
429this.normalContentType = isSession ? factory.binaryVersion.SessionContentType : factory.binaryVersion.ContentType; 430this.gzipCompressedContentType = isSession ? BinaryVersion.GZipVersion1.SessionContentType : BinaryVersion.GZipVersion1.ContentType; 431this.deflateCompressedContentType = isSession ? BinaryVersion.DeflateVersion1.SessionContentType : BinaryVersion.DeflateVersion1.ContentType;
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
3922if (string.Equals(BinaryVersion.GZipVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) || 3924(isDeflate = (string.Equals(BinaryVersion.DeflateVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) || 3927contentType = isSession ? BinaryVersion.Version1.SessionContentType : BinaryVersion.Version1.ContentType;