C# 클래스 System.Xml.XmlEventCache

Caches sequence of XmlEvents so that they can be replayed later.
상속: XmlRawWriter
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
EndEvents ( ) : void
EventsToString ( ) : string

Concatenate all element text and atomic value events and return the resulting string.

EventsToWriter ( XmlWriter writer ) : void

Replay all cached events to an XmlWriter.

Flush ( ) : 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
WriteDocType ( string name, string pubid, string sysid, string subset ) : void
WriteEndAttribute ( ) : void
WriteEntityRef ( string name ) : void
WriteProcessingInstruction ( string name, string text ) : void
WriteRaw ( char buffer, int index, int count ) : void
WriteRaw ( string data ) : void
WriteStartAttribute ( string prefix, string localName, string ns ) : void
WriteStartElement ( string prefix, string localName, string ns ) : void
WriteString ( string text ) : void
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
WriteValue ( object value ) : void

All other WriteValue methods are implemented by XmlWriter to delegate to WriteValue(object) or WriteValue(string), so only these two methods need to be implemented.

WriteValue ( string value ) : void
WriteWhitespace ( string ws ) : void
XmlEventCache ( string baseUri, bool hasRootNode ) : System

보호된 메소드들

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

비공개 메소드들

메소드 설명
AddEvent ( XmlEventType eventType ) : void
AddEvent ( XmlEventType eventType, object o ) : void
AddEvent ( XmlEventType eventType, string s1 ) : void
AddEvent ( XmlEventType eventType, string s1, string s2 ) : void
AddEvent ( XmlEventType eventType, string s1, string s2, string s3 ) : void
AddEvent ( XmlEventType eventType, string s1, string s2, string s3, object o ) : void
NewEvent ( ) : int
StartElementContent ( ) : void
ToBytes ( byte buffer, int index, int count ) : byte[]

Create a standalone buffer that doesn't need an index or count passed along with it.

WriteEndBase64 ( ) : void
WriteEndElement ( string prefix, string localName, string ns ) : void
WriteFullEndElement ( string prefix, string localName, string ns ) : void
WriteNamespaceDeclaration ( string prefix, string ns ) : void
WriteXmlDeclaration ( XmlStandalone standalone ) : void
WriteXmlDeclaration ( string xmldecl ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

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

EndEvents() 공개 메소드

public EndEvents ( ) : void
리턴 void

EventsToString() 공개 메소드

Concatenate all element text and atomic value events and return the resulting string.
public EventsToString ( ) : string
리턴 string

EventsToWriter() 공개 메소드

Replay all cached events to an XmlWriter.
public EventsToWriter ( XmlWriter writer ) : void
writer XmlWriter
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 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

WriteDocType() 공개 메소드

public WriteDocType ( string name, string pubid, string sysid, string subset ) : void
name string
pubid string
sysid string
subset string
리턴 void

WriteEndAttribute() 공개 메소드

public WriteEndAttribute ( ) : void
리턴 void

WriteEntityRef() 공개 메소드

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

WriteProcessingInstruction() 공개 메소드

public WriteProcessingInstruction ( string name, string text ) : void
name string
text 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

WriteStartAttribute() 공개 메소드

public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
리턴 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() 공개 메소드

All other WriteValue methods are implemented by XmlWriter to delegate to WriteValue(object) or WriteValue(string), so only these two methods need to be implemented.
public WriteValue ( object value ) : void
value object
리턴 void

WriteValue() 공개 메소드

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

WriteWhitespace() 공개 메소드

public WriteWhitespace ( string ws ) : void
ws string
리턴 void

XmlEventCache() 공개 메소드

public XmlEventCache ( string baseUri, bool hasRootNode ) : System
baseUri string
hasRootNode bool
리턴 System