55 references to EncoderDefaults
System.ServiceModel (55)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (8)
28this.maxReadPoolSize = EncoderDefaults.MaxReadPoolSize; 29this.maxWritePoolSize = EncoderDefaults.MaxWritePoolSize; 31EncoderDefaults.ReaderQuotas.CopyTo(this.readerQuotas); 35this.compressionFormat = EncoderDefaults.DefaultCompressionFormat; 52[DefaultValue(EncoderDefaults.DefaultCompressionFormat)] 101[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 119[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 310return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\EncoderHelpers.cs (5)
23bufferedReadQuotas.MaxStringContentLength = EncoderDefaults.BufferedReadDefaultMaxStringContentLength; 28bufferedReadQuotas.MaxArrayLength = EncoderDefaults.BufferedReadDefaultMaxArrayLength; 33bufferedReadQuotas.MaxBytesPerRead = EncoderDefaults.BufferedReadDefaultMaxBytesPerRead; 38bufferedReadQuotas.MaxNameTableCharCount = EncoderDefaults.BufferedReadDefaultMaxNameTableCharCount; 43bufferedReadQuotas.MaxDepth = EncoderDefaults.BufferedReadDefaultMaxDepth;
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (6)
41this.maxReadPoolSize = EncoderDefaults.MaxReadPoolSize; 42this.maxWritePoolSize = EncoderDefaults.MaxWritePoolSize; 44EncoderDefaults.ReaderQuotas.CopyTo(this.readerQuotas); 62[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 80[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 282return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\PeerChannelFactory.cs (1)
50EncoderDefaults.ReaderQuotas.CopyTo(this.readerQuotas);
System\ServiceModel\Channels\PeerChannelListener.cs (1)
47EncoderDefaults.ReaderQuotas.CopyTo(this.readerQuotas);
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (6)
39this.maxReadPoolSize = EncoderDefaults.MaxReadPoolSize; 40this.maxWritePoolSize = EncoderDefaults.MaxWritePoolSize; 42EncoderDefaults.ReaderQuotas.CopyTo(this.readerQuotas); 58[DefaultValue(EncoderDefaults.MaxReadPoolSize)] 76[DefaultValue(EncoderDefaults.MaxWritePoolSize)] 245return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\Channels\TransportDefaults.cs (3)
373return 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)
92if (readerQuotas.MaxDepth != EncoderDefaults.MaxDepth) 96if (readerQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength) 100if (readerQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength) 104if (readerQuotas.MaxBytesPerRead != EncoderDefaults.MaxBytesPerRead) 108if (readerQuotas.MaxNameTableCharCount != EncoderDefaults.MaxNameTableCharCount)
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
186this.readerQuotas = this.readerQuotas ?? EncoderDefaults.ReaderQuotas; 805readerQuotas = readerQuotas ?? EncoderDefaults.ReaderQuotas;
System\ServiceModel\HttpBindingBase.cs (1)
260return !EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas);
System\ServiceModel\NetMsmqBinding.cs (5)
120if (this.ReaderQuotas.MaxArrayLength != EncoderDefaults.MaxArrayLength) 124if (this.ReaderQuotas.MaxBytesPerRead != EncoderDefaults.MaxBytesPerRead) 128if (this.ReaderQuotas.MaxDepth != EncoderDefaults.MaxDepth) 132if (this.ReaderQuotas.MaxNameTableCharCount != EncoderDefaults.MaxNameTableCharCount) 136if (this.ReaderQuotas.MaxStringContentLength != EncoderDefaults.MaxStringContentLength)
System\ServiceModel\NetNamedPipeBinding.cs (1)
305return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\NetPeerTcpBinding.cs (1)
265return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\NetTcpBinding.cs (1)
459return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\WSDualHttpBinding.cs (1)
482return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));
System\ServiceModel\WSHttpBindingBase.cs (1)
406return (!EncoderDefaults.IsDefaultReaderQuotas(this.ReaderQuotas));