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

Inheritance: System.Xml.XmlDictionaryWriter, IXmlJsonWriterInitializer
Afficher le fichier Open project: kumpera/mono

Méthodes publiques

Méthode Description
Close ( ) : void
Flush ( ) : void
JsonWriter ( Stream stream, Encoding encoding, bool closeOutput ) : System
LookupPrefix ( string ns ) : string
SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
WriteBase64 ( byte bytes, int start, int length ) : void
WriteCData ( string text ) : void
WriteCharEntity ( char entity ) : void
WriteChars ( char chars, int start, int length ) : void
WriteComment ( string text ) : void
WriteDocType ( string name, string pubid, string sysid, string intSubset ) : void
WriteEndAttribute ( ) : void
WriteEndDocument ( ) : void
WriteEndElement ( ) : void
WriteEntityRef ( string text ) : void
WriteFullEndElement ( ) : void
WriteProcessingInstruction ( string target, string data ) : void
WriteRaw ( char chars, int start, int length ) : void
WriteRaw ( string text ) : void
WriteStartAttribute ( string prefix, string localName, string ns ) : void
WriteStartDocument ( ) : void
WriteStartDocument ( bool standalone ) : void
WriteStartElement ( string prefix, string localName, string ns ) : void
WriteString ( string text ) : void
WriteSurrogateCharEntity ( char high, char low ) : void
WriteWhitespace ( string text ) : void

Private Methods

Méthode Description
AppendBuffer ( StringBuilder &sb, string input, int start, int i, string append ) : void
CheckState ( ) : void
CloseStartElement ( ) : void
EscapeStringLiteral ( string input ) : string
OutputAsciiChar ( char c ) : void
OutputString ( string s ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

JsonWriter() public méthode

public JsonWriter ( Stream stream, Encoding encoding, bool closeOutput ) : System
stream Stream
encoding System.Text.Encoding
closeOutput bool
Résultat System

LookupPrefix() public méthode

public LookupPrefix ( string ns ) : string
ns string
Résultat string

SetOutput() public méthode

public SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
stream Stream
encoding System.Text.Encoding
ownsStream bool
Résultat void

WriteBase64() public méthode

public WriteBase64 ( byte bytes, int start, int length ) : void
bytes byte
start int
length int
Résultat void

WriteCData() public méthode

public WriteCData ( string text ) : void
text string
Résultat void

WriteCharEntity() public méthode

public WriteCharEntity ( char entity ) : void
entity char
Résultat void

WriteChars() public méthode

public WriteChars ( char chars, int start, int length ) : void
chars char
start int
length int
Résultat void

WriteComment() public méthode

public WriteComment ( string text ) : void
text string
Résultat void

WriteDocType() public méthode

public WriteDocType ( string name, string pubid, string sysid, string intSubset ) : void
name string
pubid string
sysid string
intSubset string
Résultat void

WriteEndAttribute() public méthode

public WriteEndAttribute ( ) : void
Résultat void

WriteEndDocument() public méthode

public WriteEndDocument ( ) : void
Résultat void

WriteEndElement() public méthode

public WriteEndElement ( ) : void
Résultat void

WriteEntityRef() public méthode

public WriteEntityRef ( string text ) : void
text string
Résultat void

WriteFullEndElement() public méthode

public WriteFullEndElement ( ) : void
Résultat void

WriteProcessingInstruction() public méthode

public WriteProcessingInstruction ( string target, string data ) : void
target string
data string
Résultat void

WriteRaw() public méthode

public WriteRaw ( char chars, int start, int length ) : void
chars char
start int
length int
Résultat void

WriteRaw() public méthode

public WriteRaw ( string text ) : void
text string
Résultat void

WriteStartAttribute() public méthode

public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
Résultat void

WriteStartDocument() public méthode

public WriteStartDocument ( ) : void
Résultat void

WriteStartDocument() public méthode

public WriteStartDocument ( bool standalone ) : void
standalone bool
Résultat void

WriteStartElement() public méthode

public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
Résultat void

WriteString() public méthode

public WriteString ( string text ) : void
text string
Résultat void

WriteSurrogateCharEntity() public méthode

public WriteSurrogateCharEntity ( char high, char low ) : void
high char
low char
Résultat void

WriteWhitespace() public méthode

public WriteWhitespace ( string text ) : void
text string
Résultat void