Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Runtime.Serialization.Json.JsonReaderDelegator Class Referencesealed

Classes

class  DateTimeArrayJsonHelperWithString
 

Public Member Functions

 JsonReaderDelegator (XmlReader reader)
 
 JsonReaderDelegator (XmlReader reader, DateTimeFormat dateTimeFormat)
 
override byte[] ReadContentAsBase64 ()
 
object ReadElementContentAsAnyType (Type valueType)
 

Protected Member Functions

int GetArrayLengthQuota (XmlObjectSerializerReadContext context)
 

Protected Attributes

XmlReader reader
 
XmlDictionaryReader dictionaryReader
 
bool isEndOfEmptyElement
 

Package Functions

override char ReadContentAsChar ()
 
override XmlQualifiedName ReadContentAsQName ()
 
override char ReadElementContentAsChar ()
 
override byte[] ReadElementContentAsBase64 ()
 
override DateTime ReadContentAsDateTime ()
 
override DateTime ReadElementContentAsDateTime ()
 
override bool TryReadDateTimeArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out DateTime[] array)
 
bool TryReadJsonDateTimeArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out DateTime[] array)
 
override ulong ReadContentAsUnsignedLong ()
 
override ulong ReadElementContentAsUnsignedLong ()
 
string GetAttribute (string name)
 
string GetAttribute (string name, string namespaceUri)
 
string GetAttribute (int i)
 
bool IsNamespaceURI (string ns)
 
bool IsLocalName (string localName)
 
bool IsLocalName (XmlDictionaryString localName)
 
bool IsNamespaceUri (XmlDictionaryString ns)
 
int IndexOfLocalName (XmlDictionaryString[] localNames, XmlDictionaryString ns)
 
bool IsStartElement ()
 
bool IsStartElement (string localname, string ns)
 
bool IsStartElement (XmlDictionaryString localname, XmlDictionaryString ns)
 
bool MoveToAttribute (string name)
 
bool MoveToAttribute (string name, string ns)
 
void MoveToAttribute (int i)
 
bool MoveToElement ()
 
bool MoveToFirstAttribute ()
 
bool MoveToNextAttribute ()
 
bool Read ()
 
XmlNodeType MoveToContent ()
 
bool ReadAttributeValue ()
 
void ReadEndElement ()
 
object ReadContentAsAnyType (Type valueType)
 
IDataNode ReadExtensionData (Type valueType)
 
string ReadElementContentAsString ()
 
string ReadContentAsString ()
 
bool ReadElementContentAsBoolean ()
 
bool ReadContentAsBoolean ()
 
float ReadElementContentAsFloat ()
 
float ReadContentAsSingle ()
 
double ReadElementContentAsDouble ()
 
double ReadContentAsDouble ()
 
decimal ReadElementContentAsDecimal ()
 
decimal ReadContentAsDecimal ()
 
byte[] ReadContentAsBase64 (string str)
 
int ReadElementContentAsInt ()
 
int ReadContentAsInt ()
 
long ReadElementContentAsLong ()
 
long ReadContentAsLong ()
 
short ReadElementContentAsShort ()
 
short ReadContentAsShort ()
 
byte ReadElementContentAsUnsignedByte ()
 
byte ReadContentAsUnsignedByte ()
 
sbyte ReadElementContentAsSignedByte ()
 
sbyte ReadContentAsSignedByte ()
 
uint ReadElementContentAsUnsignedInt ()
 
uint ReadContentAsUnsignedInt ()
 
ushort ReadElementContentAsUnsignedShort ()
 
ushort ReadContentAsUnsignedShort ()
 
TimeSpan ReadElementContentAsTimeSpan ()
 
TimeSpan ReadContentAsTimeSpan ()
 
Guid ReadElementContentAsGuid ()
 
Guid ReadContentAsGuid ()
 
Uri ReadElementContentAsUri ()
 
Uri ReadContentAsUri ()
 
XmlQualifiedName ReadElementContentAsQName ()
 
bool TryReadBooleanArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out bool[] array)
 
bool TryReadDecimalArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out decimal[] array)
 
bool TryReadInt32Array (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out int[] array)
 
bool TryReadInt64Array (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out long[] array)
 
bool TryReadSingleArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out float[] array)
 
bool TryReadDoubleArray (XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, [NotNullWhen(true)] out double[] array)
 
IDictionary< string, stringGetNamespacesInScope (XmlNamespaceScope scope)
 
bool HasLineInfo ()
 
string LookupNamespace (string prefix)
 
void Skip ()
 

Static Package Functions

static XmlQualifiedName ParseQualifiedName (string qname)
 
static DateTime ParseJsonDate (string originalDateTimeValue, DateTimeFormat dateTimeFormat)
 
static DateTime ParseJsonDateInDefaultFormat (string originalDateTimeValue)
 

Properties

XmlDictionaryReaderQuotas ReaderQuotas [get]
 
DateTimeArrayJsonHelperWithString DateTimeArrayHelper [get]
 
XmlReader UnderlyingReader [get]
 
ExtensionDataReader UnderlyingExtensionDataReader [get]
 
int AttributeCount [get]
 
bool IsEmptyElement [get]
 
XmlNodeType NodeType [get]
 
int LineNumber [get]
 
int LinePosition [get]
 
bool Normalized [get, set]
 
WhitespaceHandling WhitespaceHandling [get, set]
 
string Name [get]
 
string LocalName [get]
 
string NamespaceURI [get]
 
string Value [get]
 
Type ValueType [get]
 
int Depth [get]
 
bool EOF [get]
 

Private Member Functions

Exception CreateInvalidPrimitiveTypeException (Type type)
 
void ThrowConversionException (string value, string type)
 
void ThrowNotAtElement ()
 
char ToChar (int value)
 
short ToShort (int value)
 
byte ToByte (int value)
 
sbyte ToSByte (int value)
 
uint ToUInt32 (long value)
 
ushort ToUInt16 (int value)
 
void CheckExpectedArrayLength (XmlObjectSerializerReadContext context, int arrayLength)
 
void CheckActualArrayLength (int expectedLength, int actualLength, XmlDictionaryString itemName, XmlDictionaryString itemNamespace)
 

Private Attributes

readonly DateTimeFormat _dateTimeFormat
 
DateTimeArrayJsonHelperWithString _dateTimeArrayHelper
 

Detailed Description

Definition at line 7 of file JsonReaderDelegator.cs.


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