Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.XmlNodeReader Class Reference

Public Member Functions

 XmlNodeReader (XmlNode node)
 
override? string GetAttribute (string name)
 
override? string GetAttribute (string name, string? namespaceURI)
 
override string GetAttribute (int attributeIndex)
 
override bool MoveToAttribute (string name)
 
override bool MoveToAttribute (string name, string? namespaceURI)
 
override void MoveToAttribute (int attributeIndex)
 
override bool MoveToFirstAttribute ()
 
override bool MoveToNextAttribute ()
 
override bool MoveToElement ()
 
override bool Read ()
 
override void Close ()
 
override void Skip ()
 
override string ReadString ()
 
override? string LookupNamespace (string prefix)
 
override void ResolveEntity ()
 
override bool ReadAttributeValue ()
 
override int ReadContentAsBase64 (byte[] buffer, int index, int count)
 
override int ReadContentAsBinHex (byte[] buffer, int index, int count)
 
override int ReadElementContentAsBase64 (byte[] buffer, int index, int count)
 
override int ReadElementContentAsBinHex (byte[] buffer, int index, int count)
 
virtual object ReadContentAsObject ()
 
virtual bool ReadContentAsBoolean ()
 
virtual DateTime ReadContentAsDateTime ()
 
virtual DateTimeOffset ReadContentAsDateTimeOffset ()
 
virtual double ReadContentAsDouble ()
 
virtual float ReadContentAsFloat ()
 
virtual decimal ReadContentAsDecimal ()
 
virtual int ReadContentAsInt ()
 
virtual long ReadContentAsLong ()
 
virtual string ReadContentAsString ()
 
virtual object ReadContentAs (Type returnType, IXmlNamespaceResolver? namespaceResolver)
 
virtual object ReadElementContentAsObject ()
 
virtual object ReadElementContentAsObject (string localName, string namespaceURI)
 
virtual bool ReadElementContentAsBoolean ()
 
virtual bool ReadElementContentAsBoolean (string localName, string namespaceURI)
 
virtual DateTime ReadElementContentAsDateTime ()
 
virtual DateTime ReadElementContentAsDateTime (string localName, string namespaceURI)
 
virtual double ReadElementContentAsDouble ()
 
virtual double ReadElementContentAsDouble (string localName, string namespaceURI)
 
virtual float ReadElementContentAsFloat ()
 
virtual float ReadElementContentAsFloat (string localName, string namespaceURI)
 
virtual decimal ReadElementContentAsDecimal ()
 
virtual decimal ReadElementContentAsDecimal (string localName, string namespaceURI)
 
virtual int ReadElementContentAsInt ()
 
virtual int ReadElementContentAsInt (string localName, string namespaceURI)
 
virtual long ReadElementContentAsLong ()
 
virtual long ReadElementContentAsLong (string localName, string namespaceURI)
 
virtual string ReadElementContentAsString ()
 
virtual string ReadElementContentAsString (string localName, string namespaceURI)
 
virtual object ReadElementContentAs (Type returnType, IXmlNamespaceResolver namespaceResolver)
 
virtual object ReadElementContentAs (Type returnType, IXmlNamespaceResolver namespaceResolver, string localName, string namespaceURI)
 
virtual int ReadValueChunk (char[] buffer, int index, int count)
 
virtual XmlNodeType MoveToContent ()
 
virtual void ReadStartElement ()
 
virtual void ReadStartElement (string name)
 
virtual void ReadStartElement (string localname, string ns)
 
virtual string ReadElementString ()
 
virtual string ReadElementString (string name)
 
virtual string ReadElementString (string localname, string ns)
 
virtual void ReadEndElement ()
 
virtual bool IsStartElement ()
 
virtual bool IsStartElement (string name)
 
virtual bool IsStartElement (string localname, string ns)
 
virtual bool ReadToFollowing (string name)
 
virtual bool ReadToFollowing (string localName, string namespaceURI)
 
virtual bool ReadToDescendant (string name)
 
virtual bool ReadToDescendant (string localName, string namespaceURI)
 
virtual bool ReadToNextSibling (string name)
 
virtual bool ReadToNextSibling (string localName, string namespaceURI)
 
virtual string ReadInnerXml ()
 
virtual string ReadOuterXml ()
 
virtual XmlReader ReadSubtree ()
 
void Dispose ()
 
virtual Task< stringGetValueAsync ()
 
virtual async Task< object > ReadContentAsObjectAsync ()
 
virtual Task< stringReadContentAsStringAsync ()
 
virtual async Task< object > ReadContentAsAsync (Type returnType, IXmlNamespaceResolver? namespaceResolver)
 
virtual async Task< object > ReadElementContentAsObjectAsync ()
 
virtual async Task< stringReadElementContentAsStringAsync ()
 
virtual async Task< object > ReadElementContentAsAsync (Type returnType, IXmlNamespaceResolver namespaceResolver)
 
virtual Task< boolReadAsync ()
 
virtual Task SkipAsync ()
 
virtual Task< int > ReadContentAsBase64Async (byte[] buffer, int index, int count)
 
virtual Task< int > ReadElementContentAsBase64Async (byte[] buffer, int index, int count)
 
virtual Task< int > ReadContentAsBinHexAsync (byte[] buffer, int index, int count)
 
virtual Task< int > ReadElementContentAsBinHexAsync (byte[] buffer, int index, int count)
 
virtual Task< int > ReadValueChunkAsync (char[] buffer, int index, int count)
 
virtual async Task< XmlNodeTypeMoveToContentAsync ()
 
virtual async Task< stringReadInnerXmlAsync ()
 
virtual async Task< stringReadOuterXmlAsync ()
 

Static Public Member Functions

static bool IsName (string str)
 
static bool IsNameToken (string str)
 
static XmlReader Create (string inputUri)
 
static XmlReader Create (string inputUri, XmlReaderSettings? settings)
 
static XmlReader Create (string inputUri, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (Stream input)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings, string? baseUri)
 
static XmlReader Create (Stream input, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (TextReader input)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings, string? baseUri)
 
static XmlReader Create (TextReader input, XmlReaderSettings? settings, XmlParserContext? inputContext)
 
static XmlReader Create (XmlReader reader, XmlReaderSettings? settings)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Package Functions

bool IsInReadingStates ()
 
bool CanReadContentAs ()
 
void CheckElement (string localName, string namespaceURI)
 
Exception CreateReadContentAsException (string methodName)
 
Exception CreateReadElementContentAsException (string methodName)
 
string InternalReadContentAsString ()
 
async Task< stringInternalReadContentAsStringAsync ()
 

Static Package Functions

static bool IsTextualNode (XmlNodeType nodeType)
 
static bool CanReadContentAs (XmlNodeType nodeType)
 
static bool HasValueInternal (XmlNodeType nodeType)
 
static Exception CreateReadContentAsException (string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo)
 
static Exception CreateReadElementContentAsException (string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo)
 
static ConformanceLevel GetV1ConformanceLevel (XmlReader reader)
 
static XmlReader CreateSqlReader (Stream input, XmlReaderSettings settings, XmlParserContext inputContext)
 
static int CalcBufferSize (Stream input)
 

Properties

override XmlNodeType NodeType [get]
 
override string Name [get]
 
override string LocalName [get]
 
override string NamespaceURI [get]
 
override string Prefix [get]
 
override bool HasValue [get]
 
override string Value [get]
 
override int Depth [get]
 
override string BaseURI [get]
 
override bool CanResolveEntity [get]
 
override bool IsEmptyElement [get]
 
override bool IsDefault [get]
 
override XmlSpace XmlSpace [get]
 
override string XmlLang [get]
 
override? IXmlSchemaInfo SchemaInfo [get]
 
override int AttributeCount [get]
 
override bool EOF [get]
 
override ReadState ReadState [get]
 
override bool HasAttributes [get]
 
override XmlNameTable NameTable [get]
 
override bool CanReadBinaryContent [get]
 
override? IDtdInfo DtdInfo [get]
 
virtual ? XmlReaderSettings Settings [get]
 
virtual char QuoteChar [get]
 
virtual Type ValueType [get]
 
virtual string this[int i] [get]
 
virtual ? string this[string name] [get]
 
virtual ? string this[string name, string? namespaceURI] [get]
 
virtual bool CanReadValueChunk [get]
 
virtual ? XmlNamespaceManager NamespaceManager [get]
 
bool IsDefaultInternal [get]
 
object DebuggerDisplayProxy [get]
 

Private Member Functions

bool Read (bool fSkipChildren)
 
bool ReadNextNode (bool fSkipChildren)
 
void SetEndOfFile ()
 
bool ReadAtZeroLevel (bool fSkipChildren)
 
bool ReadForward (bool fSkipChildren)
 
void ReSetReadingMarks ()
 
void FinishReadBinary ()
 
IDictionary< string, string > IXmlNamespaceResolver. GetNamespacesInScope (XmlNamespaceScope scope)
 
string IXmlNamespaceResolver. LookupPrefix (string namespaceName)
 
string IXmlNamespaceResolver. LookupNamespace (string prefix)
 
void WriteNode (XmlWriter xtw, bool defattr)
 
void WriteAttributeValue (XmlWriter xtw)
 
XmlWriter CreateWriterForInnerOuterXml (StringWriter sw)
 
void SetNamespacesFlag (XmlTextWriter xtw)
 
bool SkipSubtree ()
 
bool SetupReadElementContentAsXxx (string methodName)
 
void FinishReadElementContentAsXxx ()
 
async Task WriteNodeAsync (XmlWriter xtw, bool defattr)
 
async Task< boolSkipSubtreeAsync ()
 
async Task< boolSetupReadElementContentAsXxxAsync (string methodName)
 
Task FinishReadElementContentAsXxxAsync ()
 

Static Private Member Functions

static string AddLineInfo (string message, IXmlLineInfo lineInfo)
 
static XmlTextReaderImpl GetXmlTextReaderImpl (XmlReader reader)
 

Private Attributes

readonly XmlNodeReaderNavigator _readerNav
 
XmlNodeType _nodeType
 
int _curDepth
 
ReadState _readState
 
bool _fEOF
 
bool _bResolveEntity
 
bool _bStartFromDocument
 
bool _bInReadBinary
 
ReadContentAsBinaryHelper _readBinaryHelper
 

Detailed Description

Definition at line 6 of file XmlNodeReader.cs.


The documentation for this class was generated from the following file: