55 references to EncoderDefaults
System.ServiceModel (55)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (8)
28
this.maxReadPoolSize =
EncoderDefaults
.MaxReadPoolSize;
29
this.maxWritePoolSize =
EncoderDefaults
.MaxWritePoolSize;
31
EncoderDefaults
.ReaderQuotas.CopyTo(this.readerQuotas);
35
this.compressionFormat =
EncoderDefaults
.DefaultCompressionFormat;
52
[DefaultValue(
EncoderDefaults
.DefaultCompressionFormat)]
101
[DefaultValue(
EncoderDefaults
.MaxReadPoolSize)]
119
[DefaultValue(
EncoderDefaults
.MaxWritePoolSize)]
310
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\EncoderHelpers.cs (5)
23
bufferedReadQuotas.MaxStringContentLength =
EncoderDefaults
.BufferedReadDefaultMaxStringContentLength;
28
bufferedReadQuotas.MaxArrayLength =
EncoderDefaults
.BufferedReadDefaultMaxArrayLength;
33
bufferedReadQuotas.MaxBytesPerRead =
EncoderDefaults
.BufferedReadDefaultMaxBytesPerRead;
38
bufferedReadQuotas.MaxNameTableCharCount =
EncoderDefaults
.BufferedReadDefaultMaxNameTableCharCount;
43
bufferedReadQuotas.MaxDepth =
EncoderDefaults
.BufferedReadDefaultMaxDepth;
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (6)
41
this.maxReadPoolSize =
EncoderDefaults
.MaxReadPoolSize;
42
this.maxWritePoolSize =
EncoderDefaults
.MaxWritePoolSize;
44
EncoderDefaults
.ReaderQuotas.CopyTo(this.readerQuotas);
62
[DefaultValue(
EncoderDefaults
.MaxReadPoolSize)]
80
[DefaultValue(
EncoderDefaults
.MaxWritePoolSize)]
282
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\PeerChannelFactory.cs (1)
50
EncoderDefaults
.ReaderQuotas.CopyTo(this.readerQuotas);
System\ServiceModel\Channels\PeerChannelListener.cs (1)
47
EncoderDefaults
.ReaderQuotas.CopyTo(this.readerQuotas);
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (6)
39
this.maxReadPoolSize =
EncoderDefaults
.MaxReadPoolSize;
40
this.maxWritePoolSize =
EncoderDefaults
.MaxWritePoolSize;
42
EncoderDefaults
.ReaderQuotas.CopyTo(this.readerQuotas);
58
[DefaultValue(
EncoderDefaults
.MaxReadPoolSize)]
76
[DefaultValue(
EncoderDefaults
.MaxWritePoolSize)]
245
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\TransportDefaults.cs (3)
373
return new TextMessageEncoderFactory(MessageVersion.Default, TextEncoderDefaults.Encoding,
EncoderDefaults
.MaxReadPoolSize,
EncoderDefaults
.MaxWritePoolSize,
EncoderDefaults
.ReaderQuotas);
System\ServiceModel\Configuration\BinaryMessageEncodingElement.cs (3)
21
[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue =
EncoderDefaults
.MaxReadPoolSize)]
29
[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue =
EncoderDefaults
.MaxWritePoolSize)]
51
[ConfigurationProperty(ConfigurationStrings.CompressionFormat, DefaultValue =
EncoderDefaults
.DefaultCompressionFormat)]
System\ServiceModel\Configuration\MtomMessageEncodingElement.cs (2)
69
[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue =
EncoderDefaults
.MaxReadPoolSize)]
77
[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue =
EncoderDefaults
.MaxWritePoolSize)]
System\ServiceModel\Configuration\TextMessageEncodingElement.cs (2)
66
[ConfigurationProperty(ConfigurationStrings.MaxReadPoolSize, DefaultValue =
EncoderDefaults
.MaxReadPoolSize)]
74
[ConfigurationProperty(ConfigurationStrings.MaxWritePoolSize, DefaultValue =
EncoderDefaults
.MaxWritePoolSize)]
System\ServiceModel\Configuration\XmlDictionaryReaderQuotasElement.cs (5)
92
if (readerQuotas.MaxDepth !=
EncoderDefaults
.MaxDepth)
96
if (readerQuotas.MaxStringContentLength !=
EncoderDefaults
.MaxStringContentLength)
100
if (readerQuotas.MaxArrayLength !=
EncoderDefaults
.MaxArrayLength)
104
if (readerQuotas.MaxBytesPerRead !=
EncoderDefaults
.MaxBytesPerRead)
108
if (readerQuotas.MaxNameTableCharCount !=
EncoderDefaults
.MaxNameTableCharCount)
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
186
this.readerQuotas = this.readerQuotas ??
EncoderDefaults
.ReaderQuotas;
805
readerQuotas = readerQuotas ??
EncoderDefaults
.ReaderQuotas;
System\ServiceModel\HttpBindingBase.cs (1)
260
return !
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas);
System\ServiceModel\NetMsmqBinding.cs (5)
120
if (this.ReaderQuotas.MaxArrayLength !=
EncoderDefaults
.MaxArrayLength)
124
if (this.ReaderQuotas.MaxBytesPerRead !=
EncoderDefaults
.MaxBytesPerRead)
128
if (this.ReaderQuotas.MaxDepth !=
EncoderDefaults
.MaxDepth)
132
if (this.ReaderQuotas.MaxNameTableCharCount !=
EncoderDefaults
.MaxNameTableCharCount)
136
if (this.ReaderQuotas.MaxStringContentLength !=
EncoderDefaults
.MaxStringContentLength)
System\ServiceModel\NetNamedPipeBinding.cs (1)
305
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\NetPeerTcpBinding.cs (1)
265
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\NetTcpBinding.cs (1)
459
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\WSDualHttpBinding.cs (1)
482
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\WSHttpBindingBase.cs (1)
406
return (!
EncoderDefaults
.IsDefaultReaderQuotas(this.ReaderQuotas));