C# 클래스 System.Runtime.Serialization.Json.XmlJsonWriter

상속: System.Xml.XmlDictionaryWriter, IXmlJsonWriterInitializer
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CharacterNeedsEscaping bool
CheckText void
CreateEscapedJsonStringTable string[]
EnterScope void
ExitScope JsonNodeType
InitializeWriter void
IsUnicodeNewlineCharacter bool
StartText void
ThrowClosed void
ThrowIfServerTypeWritten void
ThrowInvalidAttributeContent void
TryEscapeControlCharacter bool
TrySetWritingNameWithMapping bool
WriteDataTypeServerType void
WriteDocType void
WriteEscapedJsonString void
WriteIndent void
WriteJsonElementName void
WriteJsonQuote void
WriteNewLine void
WritePrimitiveValue void
WriteServerTypeAttribute void
WriteStartAttribute void
WriteValue void
WriteValue void
WriteWhitespace void

공개 메소드들

메소드 설명
Flush ( ) : void
LookupPrefix ( string ns ) : string
SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.DateTime array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.Guid array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.TimeSpan array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long array, int offset, int count ) : void
WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, System.DateTime array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, System.Guid array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, Int16 array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, Int32 array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, System.Int64 array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, System.TimeSpan array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, bool array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, decimal array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, double array, int offset, int count ) : void
WriteArray ( string prefix, string localName, string namespaceUri, float array, int offset, int count ) : void
WriteBase64 ( byte buffer, int index, int count ) : void
WriteBinHex ( byte buffer, int index, int count ) : void
WriteCData ( string text ) : void
WriteCharEntity ( char ch ) : void
WriteChars ( char buffer, int index, int count ) : void
WriteComment ( string text ) : void
WriteEndAttribute ( ) : void
WriteEndDocument ( ) : void
WriteEndElement ( ) : void
WriteEntityRef ( string name ) : void
WriteFullEndElement ( ) : void
WriteProcessingInstruction ( string name, string text ) : void
WriteQualifiedName ( string localName, string ns ) : void
WriteRaw ( char buffer, int index, int count ) : void
WriteRaw ( string data ) : void
WriteStartDocument ( ) : void
WriteStartDocument ( bool standalone ) : void
WriteStartElement ( string prefix, string localName, string ns ) : void
WriteString ( string text ) : void
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
WriteValue ( System.DateTime value ) : void
WriteValue ( System.Guid value ) : void
WriteValue ( System.TimeSpan value ) : void
WriteValue ( UniqueId value ) : void
WriteValue ( bool value ) : void
WriteValue ( decimal value ) : void
WriteValue ( double value ) : void
WriteValue ( float value ) : void
WriteValue ( int value ) : void
WriteValue ( long value ) : void
WriteValue ( object value ) : void
WriteValue ( string value ) : void
WriteXmlAttribute ( XmlDictionaryString localName, XmlDictionaryString value ) : void
WriteXmlAttribute ( string localName, string value ) : void
WriteXmlnsAttribute ( string prefix, XmlDictionaryString namespaceUri ) : void
WriteXmlnsAttribute ( string prefix, string namespaceUri ) : void
XmlJsonWriter ( ) : System.Diagnostics.CodeAnalysis
XmlJsonWriter ( bool indent, string indentChars ) : System.Diagnostics.CodeAnalysis

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
CharacterNeedsEscaping ( char ch ) : bool
CheckText ( JsonNodeType nextNodeType ) : void
CreateEscapedJsonStringTable ( ) : string[]
EnterScope ( JsonNodeType currentNodeType ) : void
ExitScope ( ) : JsonNodeType
InitializeWriter ( ) : void
IsUnicodeNewlineCharacter ( char c ) : bool
StartText ( ) : void
ThrowClosed ( ) : void
ThrowIfServerTypeWritten ( string dataTypeSpecified ) : void
ThrowInvalidAttributeContent ( ) : void
TryEscapeControlCharacter ( char ch, char &abbrev ) : bool
TrySetWritingNameWithMapping ( string localName, string ns ) : bool
WriteDataTypeServerType ( ) : void
WriteDocType ( string name, string pubid, string sysid, string subset ) : void
WriteEscapedJsonString ( string str ) : void
WriteIndent ( ) : void
WriteJsonElementName ( string localName ) : void
WriteJsonQuote ( ) : void
WriteNewLine ( ) : void
WritePrimitiveValue ( object value ) : void
WriteServerTypeAttribute ( ) : void
WriteStartAttribute ( string prefix, string localName, string ns ) : void
WriteValue ( Array array ) : void
WriteValue ( ulong value ) : void
WriteWhitespace ( string ws ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

LookupPrefix() 공개 메소드

public LookupPrefix ( string ns ) : string
ns string
리턴 string

SetOutput() 공개 메소드

public SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
stream Stream
encoding System.Text.Encoding
ownsStream bool
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.DateTime array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array System.DateTime
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.Guid array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array System.Guid
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, System.TimeSpan array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array System.TimeSpan
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array bool
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array decimal
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array double
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array float
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array int
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array long
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short array, int offset, int count ) : void
prefix string
localName System.Xml.XmlDictionaryString
namespaceUri System.Xml.XmlDictionaryString
array short
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, System.DateTime array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.DateTime
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, System.Guid array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.Guid
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, Int16 array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.Int16
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, Int32 array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.Int32
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, System.Int64 array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.Int64
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, System.TimeSpan array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array System.TimeSpan
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, bool array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array bool
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, decimal array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array decimal
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, double array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array double
offset int
count int
리턴 void

WriteArray() 공개 메소드

public WriteArray ( string prefix, string localName, string namespaceUri, float array, int offset, int count ) : void
prefix string
localName string
namespaceUri string
array float
offset int
count int
리턴 void

WriteBase64() 공개 메소드

public WriteBase64 ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
리턴 void

WriteBinHex() 공개 메소드

public WriteBinHex ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
리턴 void

WriteCData() 공개 메소드

public WriteCData ( string text ) : void
text string
리턴 void

WriteCharEntity() 공개 메소드

public WriteCharEntity ( char ch ) : void
ch char
리턴 void

WriteChars() 공개 메소드

public WriteChars ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

WriteComment() 공개 메소드

public WriteComment ( string text ) : void
text string
리턴 void

WriteEndAttribute() 공개 메소드

public WriteEndAttribute ( ) : void
리턴 void

WriteEndDocument() 공개 메소드

public WriteEndDocument ( ) : void
리턴 void

WriteEndElement() 공개 메소드

public WriteEndElement ( ) : void
리턴 void

WriteEntityRef() 공개 메소드

public WriteEntityRef ( string name ) : void
name string
리턴 void

WriteFullEndElement() 공개 메소드

public WriteFullEndElement ( ) : void
리턴 void

WriteProcessingInstruction() 공개 메소드

public WriteProcessingInstruction ( string name, string text ) : void
name string
text string
리턴 void

WriteQualifiedName() 공개 메소드

public WriteQualifiedName ( string localName, string ns ) : void
localName string
ns string
리턴 void

WriteRaw() 공개 메소드

public WriteRaw ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

WriteRaw() 공개 메소드

public WriteRaw ( string data ) : void
data string
리턴 void

WriteStartDocument() 공개 메소드

public WriteStartDocument ( ) : void
리턴 void

WriteStartDocument() 공개 메소드

public WriteStartDocument ( bool standalone ) : void
standalone bool
리턴 void

WriteStartElement() 공개 메소드

public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
리턴 void

WriteString() 공개 메소드

public WriteString ( string text ) : void
text string
리턴 void

WriteSurrogateCharEntity() 공개 메소드

public WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
lowChar char
highChar char
리턴 void

WriteValue() 공개 메소드

public WriteValue ( System.DateTime value ) : void
value System.DateTime
리턴 void

WriteValue() 공개 메소드

public WriteValue ( System.Guid value ) : void
value System.Guid
리턴 void

WriteValue() 공개 메소드

public WriteValue ( System.TimeSpan value ) : void
value System.TimeSpan
리턴 void

WriteValue() 공개 메소드

public WriteValue ( UniqueId value ) : void
value System.Xml.UniqueId
리턴 void

WriteValue() 공개 메소드

public WriteValue ( bool value ) : void
value bool
리턴 void

WriteValue() 공개 메소드

public WriteValue ( decimal value ) : void
value decimal
리턴 void

WriteValue() 공개 메소드

public WriteValue ( double value ) : void
value double
리턴 void

WriteValue() 공개 메소드

public WriteValue ( float value ) : void
value float
리턴 void

WriteValue() 공개 메소드

public WriteValue ( int value ) : void
value int
리턴 void

WriteValue() 공개 메소드

public WriteValue ( long value ) : void
value long
리턴 void

WriteValue() 공개 메소드

public WriteValue ( object value ) : void
value object
리턴 void

WriteValue() 공개 메소드

public WriteValue ( string value ) : void
value string
리턴 void

WriteXmlAttribute() 공개 메소드

public WriteXmlAttribute ( XmlDictionaryString localName, XmlDictionaryString value ) : void
localName System.Xml.XmlDictionaryString
value System.Xml.XmlDictionaryString
리턴 void

WriteXmlAttribute() 공개 메소드

public WriteXmlAttribute ( string localName, string value ) : void
localName string
value string
리턴 void

WriteXmlnsAttribute() 공개 메소드

public WriteXmlnsAttribute ( string prefix, XmlDictionaryString namespaceUri ) : void
prefix string
namespaceUri System.Xml.XmlDictionaryString
리턴 void

WriteXmlnsAttribute() 공개 메소드

public WriteXmlnsAttribute ( string prefix, string namespaceUri ) : void
prefix string
namespaceUri string
리턴 void

XmlJsonWriter() 공개 메소드

public XmlJsonWriter ( ) : System.Diagnostics.CodeAnalysis
리턴 System.Diagnostics.CodeAnalysis

XmlJsonWriter() 공개 메소드

public XmlJsonWriter ( bool indent, string indentChars ) : System.Diagnostics.CodeAnalysis
indent bool
indentChars string
리턴 System.Diagnostics.CodeAnalysis