C# Class System.Xml.XsdValidatingReader

Inheritance: XmlReader, IXmlSchemaInfo, IXmlLineInfo, IXmlNamespaceResolver
显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddAttributePSVI AttributePSVIInfo
CachingCallBack void
ClearAttributesInfo void
CreateDummyTextNode ValidatingReaderNodeData
GetAttributePSVI AttributePSVIInfo
GetAttributePSVI AttributePSVIInfo
GetCachingReader XsdCachingReader
GetDefaultAttribute ValidatingReaderNodeData
GetDefaultAttribute ValidatingReaderNodeData
GetIsDefault void
GetMemberType void
GetOriginalAtomicValueStringOfElement string
GetStringValue object
IXmlNamespaceResolver string>.IDictionary
IXmlNamespaceResolver string
Init void
InternalReadContentAsObject object
InternalReadContentAsObject object
InternalReadContentAsObject object
InternalReadContentAsObjectAsync Task
InternalReadContentAsObjectAsync Task
InternalReadContentAsObjectTupleAsync object>>.Task
InternalReadElementContentAsObject object
InternalReadElementContentAsObject object
InternalReadElementContentAsObject object
InternalReadElementContentAsObjectAsync object>>.Task
InternalReadElementContentAsObjectAsync object>>.Task
InternalReadElementContentAsObjectTupleAsync Task>
IsXSDRoot bool
ProcessElementEvent void
ProcessElementEventAsync System.Threading.Tasks.Task
ProcessEndElementEvent void
ProcessEndElementEventAsync System.Threading.Tasks.Task
ProcessInlineSchema void
ProcessInlineSchemaAsync System.Threading.Tasks.Task
ProcessReaderEvent void
ProcessReaderEventAsync System.Threading.Tasks.Task
ReadAheadForMemberType void
ReadAsync_Read Task
ReadAsync_ReadAhead Task
ReadTillEndElement object
ReadTillEndElementAsync Task
ReturnBoxedValue object
SetupValidator void
SwitchReader void
ValidateAttributes void
XsdValidatingReader System.IO
XsdValidatingReader System.IO
_ReadAsync_Read Task
_ReadAsync_ReadAhead Task

Public Methods

Method Description
Close ( ) : void
GetAttribute ( int i ) : string
GetAttribute ( string name ) : string
GetAttribute ( string name, string namespaceURI ) : string
GetValueAsync ( ) : Task
HasLineInfo ( ) : bool
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string name ) : bool
MoveToAttribute ( string name, string ns ) : bool
MoveToAttribute ( int i ) : void
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
Read ( ) : bool
ReadAsync ( ) : Task
ReadAttributeValue ( ) : bool
ReadContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
ReadContentAsAsync ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : Task
ReadContentAsBase64 ( byte buffer, int index, int count ) : int
ReadContentAsBase64Async ( byte buffer, int index, int count ) : Task
ReadContentAsBinHex ( byte buffer, int index, int count ) : int
ReadContentAsBinHexAsync ( byte buffer, int index, int count ) : Task
ReadContentAsBoolean ( ) : bool
ReadContentAsDateTime ( ) : DateTime
ReadContentAsDecimal ( ) : decimal
ReadContentAsDouble ( ) : double
ReadContentAsFloat ( ) : float
ReadContentAsInt ( ) : int
ReadContentAsLong ( ) : long
ReadContentAsObject ( ) : object
ReadContentAsObjectAsync ( ) : Task
ReadContentAsString ( ) : string
ReadContentAsStringAsync ( ) : Task
ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
ReadElementContentAsAsync ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : Task
ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
ReadElementContentAsBase64Async ( byte buffer, int index, int count ) : Task
ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
ReadElementContentAsBinHexAsync ( byte buffer, int index, int count ) : Task
ReadElementContentAsBoolean ( ) : bool
ReadElementContentAsDateTime ( ) : DateTime
ReadElementContentAsDecimal ( ) : Decimal
ReadElementContentAsDouble ( ) : double
ReadElementContentAsFloat ( ) : float
ReadElementContentAsInt ( ) : int
ReadElementContentAsLong ( ) : long
ReadElementContentAsObject ( ) : object
ReadElementContentAsObjectAsync ( ) : Task
ReadElementContentAsString ( ) : string
ReadElementContentAsStringAsync ( ) : Task
ResolveEntity ( ) : void
Skip ( ) : void
SkipAsync ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
AddAttributePSVI ( int attIndex ) : AttributePSVIInfo
CachingCallBack ( XsdCachingReader cachingReader ) : void
ClearAttributesInfo ( ) : void
CreateDummyTextNode ( string attributeValue, int depth ) : ValidatingReaderNodeData
GetAttributePSVI ( string name ) : AttributePSVIInfo
GetAttributePSVI ( string localName, string ns ) : AttributePSVIInfo
GetCachingReader ( ) : XsdCachingReader
GetDefaultAttribute ( string name, bool updatePosition ) : ValidatingReaderNodeData
GetDefaultAttribute ( string attrLocalName, string ns, bool updatePosition ) : ValidatingReaderNodeData
GetIsDefault ( ) : void
GetMemberType ( ) : void
GetOriginalAtomicValueStringOfElement ( ) : string
GetStringValue ( ) : object
IXmlNamespaceResolver ( XmlNamespaceScope scope ) : string>.IDictionary
IXmlNamespaceResolver ( string prefix ) : string
Init ( ) : void
InternalReadContentAsObject ( ) : object
InternalReadContentAsObject ( bool unwrapTypedValue ) : object
InternalReadContentAsObject ( bool unwrapTypedValue, string &originalStringValue ) : object
InternalReadContentAsObjectAsync ( ) : Task
InternalReadContentAsObjectAsync ( bool unwrapTypedValue ) : Task
InternalReadContentAsObjectTupleAsync ( bool unwrapTypedValue ) : object>>.Task
InternalReadElementContentAsObject ( XmlSchemaType &xmlType ) : object
InternalReadElementContentAsObject ( XmlSchemaType &xmlType, bool unwrapTypedValue ) : object
InternalReadElementContentAsObject ( XmlSchemaType &xmlType, bool unwrapTypedValue, string &originalString ) : object
InternalReadElementContentAsObjectAsync ( ) : object>>.Task
InternalReadElementContentAsObjectAsync ( bool unwrapTypedValue ) : object>>.Task
InternalReadElementContentAsObjectTupleAsync ( bool unwrapTypedValue ) : Task>
IsXSDRoot ( string localName, string ns ) : bool
ProcessElementEvent ( ) : void
ProcessElementEventAsync ( ) : System.Threading.Tasks.Task
ProcessEndElementEvent ( ) : void
ProcessEndElementEventAsync ( ) : System.Threading.Tasks.Task
ProcessInlineSchema ( ) : void
ProcessInlineSchemaAsync ( ) : System.Threading.Tasks.Task
ProcessReaderEvent ( ) : void
ProcessReaderEventAsync ( ) : System.Threading.Tasks.Task
ReadAheadForMemberType ( ) : void
ReadAsync_Read ( Task task ) : Task
ReadAsync_ReadAhead ( System.Threading.Tasks.Task task ) : Task
ReadTillEndElement ( ) : object
ReadTillEndElementAsync ( ) : Task
ReturnBoxedValue ( object typedValue, XmlSchemaType xmlType, bool unWrap ) : object
SetupValidator ( XmlReaderSettings readerSettings, XmlReader reader, XmlSchemaObject partialValidationType ) : void
SwitchReader ( ) : void
ValidateAttributes ( ) : void
XsdValidatingReader ( XmlReader reader, XmlResolver xmlResolver, XmlReaderSettings readerSettings ) : System.IO
XsdValidatingReader ( XmlReader reader, XmlResolver xmlResolver, XmlReaderSettings readerSettings, XmlSchemaObject partialValidationType ) : System.IO
_ReadAsync_Read ( Task task ) : Task
_ReadAsync_ReadAhead ( System.Threading.Tasks.Task task ) : Task

Method Details

Close() public method

public Close ( ) : void
return void

GetAttribute() public method

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

GetAttribute() public method

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

GetAttribute() public method

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

GetValueAsync() public method

public GetValueAsync ( ) : Task
return Task

HasLineInfo() public method

public HasLineInfo ( ) : bool
return bool

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 name, string ns ) : bool
name string
ns string
return bool

MoveToAttribute() public method

public MoveToAttribute ( int i ) : void
i int
return void

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

ReadAsync() public method

public ReadAsync ( ) : Task
return Task

ReadAttributeValue() public method

public ReadAttributeValue ( ) : bool
return bool

ReadContentAs() public method

public ReadContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
returnType Type
namespaceResolver IXmlNamespaceResolver
return object

ReadContentAsAsync() public method

public ReadContentAsAsync ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : Task
returnType Type
namespaceResolver IXmlNamespaceResolver
return Task

ReadContentAsBase64() public method

public ReadContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
return int

ReadContentAsBase64Async() public method

public ReadContentAsBase64Async ( byte buffer, int index, int count ) : Task
buffer byte
index int
count int
return Task

ReadContentAsBinHex() public method

public ReadContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
return int

ReadContentAsBinHexAsync() public method

public ReadContentAsBinHexAsync ( byte buffer, int index, int count ) : Task
buffer byte
index int
count int
return Task

ReadContentAsBoolean() public method

public ReadContentAsBoolean ( ) : bool
return bool

ReadContentAsDateTime() public method

public ReadContentAsDateTime ( ) : DateTime
return DateTime

ReadContentAsDecimal() public method

public ReadContentAsDecimal ( ) : decimal
return decimal

ReadContentAsDouble() public method

public ReadContentAsDouble ( ) : double
return double

ReadContentAsFloat() public method

public ReadContentAsFloat ( ) : float
return float

ReadContentAsInt() public method

public ReadContentAsInt ( ) : int
return int

ReadContentAsLong() public method

public ReadContentAsLong ( ) : long
return long

ReadContentAsObject() public method

public ReadContentAsObject ( ) : object
return object

ReadContentAsObjectAsync() public method

public ReadContentAsObjectAsync ( ) : Task
return Task

ReadContentAsString() public method

public ReadContentAsString ( ) : string
return string

ReadContentAsStringAsync() public method

public ReadContentAsStringAsync ( ) : Task
return Task

ReadElementContentAs() public method

public ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
returnType Type
namespaceResolver IXmlNamespaceResolver
return object

ReadElementContentAsAsync() public method

public ReadElementContentAsAsync ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : Task
returnType Type
namespaceResolver IXmlNamespaceResolver
return Task

ReadElementContentAsBase64() public method

public ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
return int

ReadElementContentAsBase64Async() public method

public ReadElementContentAsBase64Async ( byte buffer, int index, int count ) : Task
buffer byte
index int
count int
return Task

ReadElementContentAsBinHex() public method

public ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
return int

ReadElementContentAsBinHexAsync() public method

public ReadElementContentAsBinHexAsync ( byte buffer, int index, int count ) : Task
buffer byte
index int
count int
return Task

ReadElementContentAsBoolean() public method

public ReadElementContentAsBoolean ( ) : bool
return bool

ReadElementContentAsDateTime() public method

public ReadElementContentAsDateTime ( ) : DateTime
return DateTime

ReadElementContentAsDecimal() public method

public ReadElementContentAsDecimal ( ) : Decimal
return Decimal

ReadElementContentAsDouble() public method

public ReadElementContentAsDouble ( ) : double
return double

ReadElementContentAsFloat() public method

public ReadElementContentAsFloat ( ) : float
return float

ReadElementContentAsInt() public method

public ReadElementContentAsInt ( ) : int
return int

ReadElementContentAsLong() public method

public ReadElementContentAsLong ( ) : long
return long

ReadElementContentAsObject() public method

public ReadElementContentAsObject ( ) : object
return object

ReadElementContentAsObjectAsync() public method

public ReadElementContentAsObjectAsync ( ) : Task
return Task

ReadElementContentAsString() public method

public ReadElementContentAsString ( ) : string
return string

ReadElementContentAsStringAsync() public method

public ReadElementContentAsStringAsync ( ) : Task
return Task

ResolveEntity() public method

public ResolveEntity ( ) : void
return void

Skip() public method

public Skip ( ) : void
return void

SkipAsync() public method

public SkipAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task