Class XMLEncodedStringWriter
Overridden StringWriter that escapes additional characters in XML requests for consistency across AWS SDKs. There isn't an XmlWriterSettings.NewLineHandling value which matches the desired encoding, so this replaces the characters that NewLineHandling.Entitize doesn't encode
public class XMLEncodedStringWriter : StringWriter, IDisposable, IAsyncDisposable
- Inheritance
-
XMLEncodedStringWriter
- Implements
- Inherited Members
Constructors
XMLEncodedStringWriter(IFormatProvider)
public XMLEncodedStringWriter(IFormatProvider formatProvider)
Parameters
formatProvider
IFormatProvider
Methods
Write(char[], int, int)
Writes a range of a character array to the underlying string buffer and encodes additional characters for AWS XML requests
public override void Write(char[] buffer, int index, int count)