Terraria v1.4.4.9
Terraria source code documentation
|
Static Public Member Functions | |
static XmlWriter | Create (string outputFileName) |
static XmlWriter | Create (string outputFileName, XmlWriterSettings? settings) |
static XmlWriter | Create (Stream output) |
static XmlWriter | Create (Stream output, XmlWriterSettings? settings) |
static XmlWriter | Create (TextWriter output) |
static XmlWriter | Create (TextWriter output, XmlWriterSettings? settings) |
static XmlWriter | Create (StringBuilder output) |
static XmlWriter | Create (StringBuilder output, XmlWriterSettings? settings) |
static XmlWriter | Create (XmlWriter output) |
static XmlWriter | Create (XmlWriter output, XmlWriterSettings? settings) |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
virtual ValueTask | DisposeAsyncCore () |
Package Functions | |
virtual Task | WriteStartAttributeAsync (string? prefix, string localName, string? ns) |
virtual Task | WriteEndAttributeAsync () |
async Task | WriteNodeAsync_CallSyncReader (XmlReader reader, bool defattr) |
async Task | WriteNodeAsync_CallAsyncReader (XmlReader reader, bool defattr) |
Properties | |
Stream? | BaseStream [get] |
bool | Namespaces [get, set] |
Formatting | Formatting [get, set] |
int | Indentation [get, set] |
char | IndentChar [get, set] |
virtual ? XmlWriterSettings | Settings [get] |
WriteState | WriteState [get] |
virtual XmlSpace | XmlSpace [get] |
virtual ? string | XmlLang [get] |
Private Types | |
enum | NamespaceState { Uninitialized , NotDeclaredButInScope , DeclaredButNotWrittenOut , DeclaredAndWrittenOut } |
enum | SpecialAttr { None , XmlSpace , XmlLang , XmlNs } |
enum | State { Start , Prolog , PostDTD , Element , Attribute , Content , AttrOnly , Epilog , Error , Closed } |
enum | Token { PI , Doctype , Comment , CData , StartElement , EndElement , LongEndElement , StartAttribute , EndAttribute , Content , Base64 , RawData , Whitespace , Empty } |
Private Member Functions | |
void | WriteLocalNamespaces (XPathNavigator nsNav) |
async Task | WriteAttributeStringAsyncHelper (Task task, string value) |
async Task | WriteLocalNamespacesAsync (XPathNavigator nsNav) |
Private Attributes | |
readonly TextWriter | _textWriter |
readonly XmlTextEncoder | _xmlEncoder |
readonly Encoding | _encoding |
Formatting | _formatting |
bool | _indented |
int | _indentation |
char[] | _indentChars |
TagInfo[] | _stack |
int | _top |
State[] | _stateTable |
State | _currentState |
Token | _lastToken |
XmlTextWriterBase64Encoder | _base64Encoder |
char | _quoteChar |
char | _curQuoteChar |
bool | _namespaces |
SpecialAttr | _specialAttr |
string | _prefixForXmlNs |
bool | _flush |
Namespace[] | _nsStack |
int | _nsTop |
Dictionary< string, int > | _nsHashtable |
bool | _useNsHashtable |
char[] | _writeNodeBuffer |
Static Private Attributes | |
static readonly char[] | s_defaultIndentChars = CreateDefaultIndentChars() |
static readonly string[] | s_stateName = new string[10] { "Start", "Prolog", "PostDTD", "Element", "Attribute", "Content", "AttrOnly", "Epilog", "Error", "Closed" } |
static readonly string[] | s_tokenName |
static readonly State[] | s_stateTableDefault |
static readonly State[] | s_stateTableDocument |
static readonly char[] | s_selfClosingTagOpen = new char[2] { '<', '/' } |
static readonly char[] | s_closeTagEnd = new char[3] { ' ', '/', '>' } |
Definition at line 6 of file XmlDOMTextWriter.cs.