C# 클래스 Microsoft.Protocols.TestSuites.Common.XmlWriterInjector

A class represents a Xml Writer XmlWriterInjector which inherits from "XmlWriter". Use this class instead of XmlWriter to get the request data from request stream during the processing of the proxy class generated by WSDL.exe.
상속: System.Xml.XmlWriter
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

A method used to override the method "Close". It closes this stream and the underlying stream.

Flush ( ) : void

A method used to override the method "Flush". It flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.

LookupPrefix ( string ns ) : string

A method used to override the method "LookupPrefix". It returns the closest prefix defined in the current namespace scope for the namespace URI.

WriteAttributes ( XmlReader reader, bool defattr ) : void

A method used to writes out all the attributes found at the current position in the System.Xml.XmlReader.

WriteBase64 ( byte buffer, int index, int count ) : void

A method used to override the method "WriteBase64" of XmlWriter.

WriteBinHex ( byte buffer, int index, int count ) : void

A method used to encodes the specified binary bytes as BinHex and writes out the resulting text.

WriteCData ( string text ) : void

A method used to override the method "WriteCData" of XmlWriter.

WriteCharEntity ( char ch ) : void

A method used to override the method "WriteCharEntity" of XmlWriter.

WriteChars ( char buffer, int index, int count ) : void

A method used to override the method "WriteChars" of XmlWriter.

WriteComment ( string text ) : void

A method used to override the method "WriteComment" of XmlWriter.

WriteDocType ( string name, string pubid, string sysid, string subset ) : void

A method used to override the method "WriteDocType" of XmlWriter.

WriteEndAttribute ( ) : void

A method used to override the method "WriteEndAttribute" of XmlWriter.

WriteEndDocument ( ) : void

A method used to override the method "WriteEndDocument" of XmlWriter.

WriteEndElement ( ) : void

A method used to override the method "WriteEndElement" of XmlWriter.

WriteEntityRef ( string name ) : void

A method used to override the method "WriteEntityRef" of XmlWriter.

WriteFullEndElement ( ) : void

A method used to override the method "WriteFullEndElement" of XmlWriter.

WriteName ( string name ) : void

A method used to writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0.

WriteNmToken ( string name ) : void

A method used to writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0.

WriteNode ( System navigator, bool defattr ) : void

A method used to copies everything from the reader to the writer and moves the reader to the start of the next sibling.

WriteNode ( XmlReader reader, bool defattr ) : void

A method used to copies everything from the reader to the writer and moves the reader to the start of the next sibling.

WriteProcessingInstruction ( string name, string text ) : void

A method used to override the method "WriteProcessingInstruction" of XmlWriter.

WriteQualifiedName ( string localName, string ns ) : void

A method used to writes out the namespace-qualified name.

WriteRaw ( char buffer, int index, int count ) : void

A method used to override the method "WriteRaw" of XmlWriter.

WriteRaw ( string data ) : void

A method used to override the method "WriteRaw" of XmlWriter.

WriteStartAttribute ( string prefix, string localName, string ns ) : void

A method used to override the method "WriteStartAttribute" of XmlWriter.

WriteStartDocument ( ) : void

A method used to override the method "WriteStartDocument" of XmlWriter.

WriteStartDocument ( bool standalone ) : void

A method used to override the method "WriteStartDocument" of XmlWriter.

WriteStartElement ( string prefix, string localName, string ns ) : void

A method used to override the method "WriteStartElement" of XmlWriter.

WriteString ( string text ) : void

A method used to override the method "WriteString" of XmlWriter.

WriteSurrogateCharEntity ( char lowChar, char highChar ) : void

A method used to override the method "WriteSurrogateCharEntity" of XmlWriter.

WriteValue ( System.DateTime value ) : void

A method used to writes a System.DateTime value.

WriteValue ( bool value ) : void

A method used to writes a System.Boolean value.

WriteValue ( decimal value ) : void

A method used to writes a System.Decimal value.

WriteValue ( double value ) : void

A method used to writes a System.Double value.

WriteValue ( float value ) : void

A method used to writes a single-precision floating-point number.

WriteValue ( int value ) : void

A method used to writes a System.Int32 value.

WriteValue ( long value ) : void

A method used to writes a System.Int64 value.

WriteValue ( object value ) : void

A method used to writes the object value.

WriteValue ( string value ) : void

A method writes a System.String value.

WriteWhitespace ( string ws ) : void

A method used to override the method "WriteWhitespace" of XmlWriter.

XmlWriterInjector ( XmlWriter implementation ) : System

Initializes a new instance of the XmlWriterInjector class.

메소드 상세

Close() 공개 메소드

A method used to override the method "Close". It closes this stream and the underlying stream.
public Close ( ) : void
리턴 void

Flush() 공개 메소드

A method used to override the method "Flush". It flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
public Flush ( ) : void
리턴 void

LookupPrefix() 공개 메소드

A method used to override the method "LookupPrefix". It returns the closest prefix defined in the current namespace scope for the namespace URI.
public LookupPrefix ( string ns ) : string
ns string A method represents the namespace URI whose prefix you want to find.
리턴 string

WriteAttributes() 공개 메소드

A method used to writes out all the attributes found at the current position in the System.Xml.XmlReader.
public WriteAttributes ( XmlReader reader, bool defattr ) : void
reader XmlReader The XmlReader from which to copy the attributes.
defattr bool A parameter represents whether copy the default attributes from the XmlReader, true means copy, false means not copy.
리턴 void

WriteBase64() 공개 메소드

A method used to override the method "WriteBase64" of XmlWriter.
public WriteBase64 ( byte buffer, int index, int count ) : void
buffer byte A parameter represents Byte array to encode.
index int A parameter represents the position in the buffer indicating the start of the bytes to write.
count int A parameter represents the number of bytes to write.
리턴 void

WriteBinHex() 공개 메소드

A method used to encodes the specified binary bytes as BinHex and writes out the resulting text.
public WriteBinHex ( byte buffer, int index, int count ) : void
buffer byte A parameter represents the Byte array to encode.
index int A parameter represents the position in the buffer indicating the start of the bytes to write.
count int A parameter represents the number of bytes to write.
리턴 void

WriteCData() 공개 메소드

A method used to override the method "WriteCData" of XmlWriter.
public WriteCData ( string text ) : void
text string A parameter represents the text to place inside the CDATA block.
리턴 void

WriteCharEntity() 공개 메소드

A method used to override the method "WriteCharEntity" of XmlWriter.
public WriteCharEntity ( char ch ) : void
ch char A parameter represents the Unicode character for which to generate a character entity.
리턴 void

WriteChars() 공개 메소드

A method used to override the method "WriteChars" of XmlWriter.
public WriteChars ( char buffer, int index, int count ) : void
buffer char A parameter represents the character array containing the text to write.
index int A parameter represents the position in the buffer indicating the start of the text to write.
count int A parameter represents the number of characters to write.
리턴 void

WriteComment() 공개 메소드

A method used to override the method "WriteComment" of XmlWriter.
public WriteComment ( string text ) : void
text string A parameter represents the text to place inside the comment.
리턴 void

WriteDocType() 공개 메소드

A method used to override the method "WriteDocType" of XmlWriter.
public WriteDocType ( string name, string pubid, string sysid, string subset ) : void
name string A parameter represents the name of the DOCTYPE. This must be non-empty.
pubid string A parameter represents that if non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid /// are replaced with the value of the given arguments.
sysid string A parameter represents that if pubid is null and sysid is non-null it writes SYSTEM "sysid" where /// sysid is replaced with the value of this argument.
subset string A parameter represents that if non-null it writes [subset] where subset is replaced with the value of this argument.
리턴 void

WriteEndAttribute() 공개 메소드

A method used to override the method "WriteEndAttribute" of XmlWriter.
public WriteEndAttribute ( ) : void
리턴 void

WriteEndDocument() 공개 메소드

A method used to override the method "WriteEndDocument" of XmlWriter.
public WriteEndDocument ( ) : void
리턴 void

WriteEndElement() 공개 메소드

A method used to override the method "WriteEndElement" of XmlWriter.
public WriteEndElement ( ) : void
리턴 void

WriteEntityRef() 공개 메소드

A method used to override the method "WriteEntityRef" of XmlWriter.
public WriteEntityRef ( string name ) : void
name string A parameter represents the name of the entity reference.
리턴 void

WriteFullEndElement() 공개 메소드

A method used to override the method "WriteFullEndElement" of XmlWriter.
public WriteFullEndElement ( ) : void
리턴 void

WriteName() 공개 메소드

A method used to writes out the specified name, ensuring it is a valid name according to the W3C XML 1.0.
public WriteName ( string name ) : void
name string A parameter represents the name to write.
리턴 void

WriteNmToken() 공개 메소드

A method used to writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0.
public WriteNmToken ( string name ) : void
name string A parameter represents the name to write.
리턴 void

WriteNode() 공개 메소드

A method used to copies everything from the reader to the writer and moves the reader to the start of the next sibling.
public WriteNode ( System navigator, bool defattr ) : void
navigator System A parameter represents the System.Xml.XPath.XPathNavigator to copy from.
defattr bool A parameter represents whether copy the default attributes from the XmlReader, true means copy, false means not copy.
리턴 void

WriteNode() 공개 메소드

A method used to copies everything from the reader to the writer and moves the reader to the start of the next sibling.
public WriteNode ( XmlReader reader, bool defattr ) : void
reader XmlReader A parameter represents the System.Xml.XmlReader to read from.
defattr bool A parameter represents whether copy the default attributes from the XmlReader, true means copy, false means not copy.
리턴 void

WriteProcessingInstruction() 공개 메소드

A method used to override the method "WriteProcessingInstruction" of XmlWriter.
public WriteProcessingInstruction ( string name, string text ) : void
name string A parameter represents the name of the processing instruction.
text string A parameter represents the text to include in the processing instruction.
리턴 void

WriteQualifiedName() 공개 메소드

A method used to writes out the namespace-qualified name.
public WriteQualifiedName ( string localName, string ns ) : void
localName string A parameter represents the local name to write.
ns string >A parameter represents the namespace URI for the name.
리턴 void

WriteRaw() 공개 메소드

A method used to override the method "WriteRaw" of XmlWriter.
public WriteRaw ( char buffer, int index, int count ) : void
buffer char A parameter represents character array containing the text to write.
index int A parameter represents the position within the buffer indicating the start of the text to write.
count int A parameter represents the number of characters to write.
리턴 void

WriteRaw() 공개 메소드

A method used to override the method "WriteRaw" of XmlWriter.
public WriteRaw ( string data ) : void
data string A parameter represents the string containing the text to write.
리턴 void

WriteStartAttribute() 공개 메소드

A method used to override the method "WriteStartAttribute" of XmlWriter.
public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string A parameter represents the namespace prefix of the attribute.
localName string A parameter represents the local name of the attribute.
ns string A parameter represents the namespace URI for the attribute.
리턴 void

WriteStartDocument() 공개 메소드

A method used to override the method "WriteStartDocument" of XmlWriter.
public WriteStartDocument ( ) : void
리턴 void

WriteStartDocument() 공개 메소드

A method used to override the method "WriteStartDocument" of XmlWriter.
public WriteStartDocument ( bool standalone ) : void
standalone bool A parameter represents that if true, it writes "standalone=yes"; if false, it writes "standalone=no".
리턴 void

WriteStartElement() 공개 메소드

A method used to override the method "WriteStartElement" of XmlWriter.
public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string A parameter represents the namespace prefix of the element.
localName string A parameter represents the local name of the element.
ns string A parameter represents the namespace URI to associate with the element.
리턴 void

WriteString() 공개 메소드

A method used to override the method "WriteString" of XmlWriter.
public WriteString ( string text ) : void
text string A parameter represents the text to write.
리턴 void

WriteSurrogateCharEntity() 공개 메소드

A method used to override the method "WriteSurrogateCharEntity" of XmlWriter.
public WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
lowChar char A parameter represents the low surrogate. This must be a value between 0xDC00 and 0xDFFF.
highChar char A parameter represents the high surrogate. This must be a value between 0xD800 and 0xDBFF.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.DateTime value.
public WriteValue ( System.DateTime value ) : void
value System.DateTime A parameter represents the System.DateTime value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.Boolean value.
public WriteValue ( bool value ) : void
value bool A parameter represents the System.Boolean value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.Decimal value.
public WriteValue ( decimal value ) : void
value decimal A parameter represents the System.Decimal value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.Double value.
public WriteValue ( double value ) : void
value double A parameter represents the System.Double value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a single-precision floating-point number.
public WriteValue ( float value ) : void
value float A parameter represents the single-precision floating-point number to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.Int32 value.
public WriteValue ( int value ) : void
value int A parameter represents the System.Int32 value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes a System.Int64 value.
public WriteValue ( long value ) : void
value long A parameter represents the System.Int64 value to write.
리턴 void

WriteValue() 공개 메소드

A method used to writes the object value.
public WriteValue ( object value ) : void
value object A parameter represents the object value to write.
리턴 void

WriteValue() 공개 메소드

A method writes a System.String value.
public WriteValue ( string value ) : void
value string A parameter represents the System.Boolean value to write.
리턴 void

WriteWhitespace() 공개 메소드

A method used to override the method "WriteWhitespace" of XmlWriter.
public WriteWhitespace ( string ws ) : void
ws string A parameter represents the string of white space characters.
리턴 void

XmlWriterInjector() 공개 메소드

Initializes a new instance of the XmlWriterInjector class.
public XmlWriterInjector ( XmlWriter implementation ) : System
implementation System.Xml.XmlWriter A parameter instance represents an XmlWriter type implementation.
리턴 System