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

Inheritance: System.Xml.XmlDictionaryReader, IXmlJsonReaderInitializer, IXmlLineInfo
Mostra file Open project: kumpera/mono

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public Close ( ) : void
return void

GetAttribute() public method

public GetAttribute ( int index ) : string
index int
return string

GetAttribute() public method

public GetAttribute ( string name ) : string
name string
return string

GetAttribute() public method

public GetAttribute ( string localName, string ns ) : string
localName string
ns string
return string

HasLineInfo() public method

public HasLineInfo ( ) : bool
return bool

JsonReader() public method

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

JsonReader() public method

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
return System

LookupNamespace() public method

public LookupNamespace ( string prefix ) : string
prefix string
return string

MoveToAttribute() public method

public MoveToAttribute ( string name ) : bool
name string
return bool

MoveToAttribute() public method

public MoveToAttribute ( string localName, string ns ) : bool
localName string
ns string
return bool

MoveToElement() public method

public MoveToElement ( ) : bool
return bool

MoveToFirstAttribute() public method

public MoveToFirstAttribute ( ) : bool
return bool

MoveToNextAttribute() public method

public MoveToNextAttribute ( ) : bool
return bool

Read() public method

public Read ( ) : bool
return bool

ReadAttributeValue() public method

public ReadAttributeValue ( ) : bool
return bool

ReadInnerXml() public method

public ReadInnerXml ( ) : string
return string

ResolveEntity() public method

public ResolveEntity ( ) : void
return void

SetInput() public method

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

SetInput() public method

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
return void