34 references to TextEncoderDefaults
System.ServiceModel (34)
System\ServiceModel\Channels\MtomMessageEncoder.cs (3)
62
Encoding[] supported =
TextEncoderDefaults
.SupportedEncodings;
107
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
215
return
TextEncoderDefaults
.TryGetEncoding(charSet, out tmp);
System\ServiceModel\Channels\MtomMessageEncodingBindingElement.cs (4)
25
: this(MessageVersion.Default,
TextEncoderDefaults
.Encoding)
40
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
136
TextEncoderDefaults
.ValidateEncoding(value);
288
return (this.WriteEncoding !=
TextEncoderDefaults
.Encoding);
System\ServiceModel\Channels\TextMessageEncoder.cs (5)
53
Encoding[] supported =
TextEncoderDefaults
.SupportedEncodings;
92
return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType,
TextEncoderDefaults
.EncodingToCharSet(encoding));
236
return
TextEncoderDefaults
.TryGetEncoding(charSet, out encoding);
276
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
361
return
TextEncoderDefaults
.TryGetEncoding(charSet, out tmp);
System\ServiceModel\Channels\TextMessageEncodingBindingElement.cs (4)
25
: this(MessageVersion.Default,
TextEncoderDefaults
.Encoding)
37
TextEncoderDefaults
.ValidateEncoding(writeEncoding);
139
TextEncoderDefaults
.ValidateEncoding(value);
251
return (this.WriteEncoding !=
TextEncoderDefaults
.Encoding);
System\ServiceModel\Channels\TransportDefaults.cs (3)
56
internal static readonly Encoding Encoding = Encoding.GetEncoding(
TextEncoderDefaults
.EncodingString, new EncoderExceptionFallback(), new DecoderExceptionFallback());
373
return new TextMessageEncoderFactory(MessageVersion.Default,
TextEncoderDefaults
.Encoding, EncoderDefaults.MaxReadPoolSize, EncoderDefaults.MaxWritePoolSize, EncoderDefaults.ReaderQuotas);
475
get { return
TextEncoderDefaults
.Encoding; }
System\ServiceModel\Configuration\EncodingConverter.cs (2)
41
if (String.Compare(encoding,
TextEncoderDefaults
.EncodingString, StringComparison.OrdinalIgnoreCase) == 0)
44
retval =
TextEncoderDefaults
.Encoding;
System\ServiceModel\Configuration\HttpBindingBaseElement.cs (1)
87
[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue =
TextEncoderDefaults
.EncodingString)]
System\ServiceModel\Configuration\MtomMessageEncodingElement.cs (2)
85
[ConfigurationProperty(ConfigurationStrings.MessageVersion, DefaultValue =
TextEncoderDefaults
.MessageVersionString)]
107
[ConfigurationProperty(ConfigurationStrings.WriteEncoding, DefaultValue =
TextEncoderDefaults
.EncodingString)]
System\ServiceModel\Configuration\TextMessageEncodingElement.cs (2)
82
[ConfigurationProperty(ConfigurationStrings.MessageVersion, DefaultValue =
TextEncoderDefaults
.MessageVersionString)]
96
[ConfigurationProperty(ConfigurationStrings.WriteEncoding, DefaultValue =
TextEncoderDefaults
.EncodingString)]
System\ServiceModel\Configuration\WSDualHttpBindingElement.cs (1)
110
[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue =
TextEncoderDefaults
.EncodingString)]
System\ServiceModel\Configuration\WSHttpBindingBaseElement.cs (1)
92
[ConfigurationProperty(ConfigurationStrings.TextEncoding, DefaultValue =
TextEncoderDefaults
.EncodingString)]
System\ServiceModel\Description\MetadataExchangeClient.cs (4)
1350
return
TextEncoderDefaults
.Encoding;
1355
return
TextEncoderDefaults
.Encoding;
1358
Encoding[] supportedEncodings =
TextEncoderDefaults
.SupportedEncodings;
1365
return
TextEncoderDefaults
.Encoding;
System\ServiceModel\WSDualHttpBinding.cs (1)
488
return (!this.TextEncoding.Equals(
TextEncoderDefaults
.Encoding));
System\ServiceModel\WSHttpBindingBase.cs (1)
412
return (!this.TextEncoding.Equals(
TextEncoderDefaults
.Encoding));