3 instantiations of BinaryVersion
System.ServiceModel (3)
System\ServiceModel\Channels\BinaryVersion.cs (3)
11
static public readonly BinaryVersion Version1 = new
BinaryVersion
(FramingEncodingString.Binary, FramingEncodingString.BinarySession, ServiceModelDictionary.Version1);
12
static public readonly BinaryVersion GZipVersion1 = new
BinaryVersion
(FramingEncodingString.ExtendedBinaryGZip, FramingEncodingString.ExtendedBinarySessionGZip, ServiceModelDictionary.Version1);
13
static public readonly BinaryVersion DeflateVersion1 = new
BinaryVersion
(FramingEncodingString.ExtendedBinaryDeflate, FramingEncodingString.ExtendedBinarySessionDeflate, ServiceModelDictionary.Version1);
20 references to BinaryVersion
System.ServiceModel (20)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (6)
38
BinaryVersion
binaryVersion;
41
XmlDictionaryReaderQuotas readerQuotas, long maxReceivedMessageSize,
BinaryVersion
version, CompressionFormat compressionFormat)
430
this.gzipCompressedContentType = isSession ?
BinaryVersion
.GZipVersion1.SessionContentType :
BinaryVersion
.GZipVersion1.ContentType;
431
this.deflateCompressedContentType = isSession ?
BinaryVersion
.DeflateVersion1.SessionContentType :
BinaryVersion
.DeflateVersion1.ContentType;
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
21
BinaryVersion
binaryVersion;
66
BinaryVersion
BinaryVersion
System\ServiceModel\Channels\BinaryVersion.cs (4)
11
static public readonly
BinaryVersion
Version1 = new BinaryVersion(FramingEncodingString.Binary, FramingEncodingString.BinarySession, ServiceModelDictionary.Version1);
12
static public readonly
BinaryVersion
GZipVersion1 = new BinaryVersion(FramingEncodingString.ExtendedBinaryGZip, FramingEncodingString.ExtendedBinarySessionGZip, ServiceModelDictionary.Version1);
13
static public readonly
BinaryVersion
DeflateVersion1 = new BinaryVersion(FramingEncodingString.ExtendedBinaryDeflate, FramingEncodingString.ExtendedBinarySessionDeflate, ServiceModelDictionary.Version1);
26
static public
BinaryVersion
CurrentVersion { get { return Version1; } }
System\ServiceModel\Channels\HttpChannelHelpers.cs (6)
3922
if (string.Equals(
BinaryVersion
.GZipVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) ||
3923
(isSession = string.Equals(
BinaryVersion
.GZipVersion1.SessionContentType, contentType, StringComparison.OrdinalIgnoreCase)) ||
3924
(isDeflate = (string.Equals(
BinaryVersion
.DeflateVersion1.ContentType, contentType, StringComparison.OrdinalIgnoreCase) ||
3925
(isSession = string.Equals(
BinaryVersion
.DeflateVersion1.SessionContentType, contentType, StringComparison.OrdinalIgnoreCase)))))
3927
contentType = isSession ?
BinaryVersion
.Version1.SessionContentType :
BinaryVersion
.Version1.ContentType;
System\ServiceModel\Channels\TransportDefaults.cs (2)
150
internal static
BinaryVersion
BinaryVersion { get { return
BinaryVersion
.Version1; } }