C# Class System.Runtime.Serialization.Json.JsonReader

Inheritance: System.Xml.XmlDictionaryReader, IXmlJsonReaderInitializer, IXmlLineInfo
Afficher le fichier Open project: kumpera/mono

Private Properties

Свойство Type Description
Expect void
IsNumber bool
PeekChar int
PushbackChar void
ReadAsSimpleContent void
ReadChar int
ReadContent bool
ReadEndArray void
ReadEndObject void
ReadEndOfStream void
ReadNumber void
ReadStartArray void
ReadStartObject void
ReadStringLiteral string
ReadStringLiteral string
SkipWhitespaces void
TryReadString bool
XmlError System.Exception

Méthodes publiques

Méthode Description
Close ( ) : void
GetAttribute ( int index ) : string
GetAttribute ( string name ) : string
GetAttribute ( string localName, string ns ) : string
HasLineInfo ( ) : bool
JsonReader ( Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : System
JsonReader ( byte buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : System
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string name ) : bool
MoveToAttribute ( string localName, string ns ) : bool
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
Read ( ) : bool
ReadAttributeValue ( ) : bool
ReadInnerXml ( ) : string
ResolveEntity ( ) : void
SetInput ( Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : void
SetInput ( byte buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : void

Private Methods

Méthode Description
Expect ( char c ) : void
IsNumber ( int c ) : bool
PeekChar ( ) : int
PushbackChar ( int ch ) : void
ReadAsSimpleContent ( string type, string value ) : void
ReadChar ( ) : int
ReadContent ( bool objectValue ) : bool
ReadEndArray ( ) : void
ReadEndObject ( ) : void
ReadEndOfStream ( ) : void
ReadNumber ( int ch ) : void
ReadStartArray ( ) : void
ReadStartObject ( ) : void
ReadStringLiteral ( ) : string
ReadStringLiteral ( bool endWithColon ) : string
SkipWhitespaces ( ) : void
TryReadString ( string str ) : bool
XmlError ( string s ) : Exception

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

GetAttribute() public méthode

public GetAttribute ( int index ) : string
index int
Résultat string

GetAttribute() public méthode

public GetAttribute ( string name ) : string
name string
Résultat string

GetAttribute() public méthode

public GetAttribute ( string localName, string ns ) : string
localName string
ns string
Résultat string

HasLineInfo() public méthode

public HasLineInfo ( ) : bool
Résultat bool

JsonReader() public méthode

public JsonReader ( Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : System
stream Stream
encoding System.Text.Encoding
quotas System.Xml.XmlDictionaryReaderQuotas
onClose OnXmlDictionaryReaderClose
Résultat System

JsonReader() public méthode

public JsonReader ( byte buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : System
buffer byte
offset int
count int
encoding System.Text.Encoding
quotas System.Xml.XmlDictionaryReaderQuotas
onClose OnXmlDictionaryReaderClose
Résultat System

LookupNamespace() public méthode

public LookupNamespace ( string prefix ) : string
prefix string
Résultat string

MoveToAttribute() public méthode

public MoveToAttribute ( string name ) : bool
name string
Résultat bool

MoveToAttribute() public méthode

public MoveToAttribute ( string localName, string ns ) : bool
localName string
ns string
Résultat bool

MoveToElement() public méthode

public MoveToElement ( ) : bool
Résultat bool

MoveToFirstAttribute() public méthode

public MoveToFirstAttribute ( ) : bool
Résultat bool

MoveToNextAttribute() public méthode

public MoveToNextAttribute ( ) : bool
Résultat bool

Read() public méthode

public Read ( ) : bool
Résultat bool

ReadAttributeValue() public méthode

public ReadAttributeValue ( ) : bool
Résultat bool

ReadInnerXml() public méthode

public ReadInnerXml ( ) : string
Résultat string

ResolveEntity() public méthode

public ResolveEntity ( ) : void
Résultat void

SetInput() public méthode

public SetInput ( Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : void
stream Stream
encoding System.Text.Encoding
quotas System.Xml.XmlDictionaryReaderQuotas
onClose OnXmlDictionaryReaderClose
Résultat void

SetInput() public méthode

public SetInput ( byte buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : void
buffer byte
offset int
count int
encoding System.Text.Encoding
quotas System.Xml.XmlDictionaryReaderQuotas
onClose OnXmlDictionaryReaderClose
Résultat void