C# Class System.Xml.Serialization.XmlSerializationReader

Inheritance: XmlSerializationGeneratedCode
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes protégées

Méthode Description
AddFixup ( CollectionFixup fixup ) : void
AddFixup ( Fixup fixup ) : void
AddReadCallback ( string name, string ns, Type type, XmlSerializationReadCallback read ) : void
AddTarget ( string id, object o ) : void
CheckReaderCount ( int &whileIterations, int &readerCount ) : void
CollapseWhitespace ( string value ) : string
CreateAbstractTypeException ( string name, string ns ) : Exception
CreateBadDerivationException ( string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase ) : Exception
CreateCtorHasSecurityException ( string typeName ) : Exception
CreateInaccessibleConstructorException ( string typeName ) : Exception
CreateInvalidCastException ( Type type, object value ) : Exception
CreateInvalidCastException ( Type type, object value, string id ) : Exception
CreateMissingIXmlSerializableType ( string name, string ns, string clrType ) : Exception
CreateReadOnlyCollectionException ( string name ) : Exception
CreateUnknownConstantException ( string value, Type enumType ) : Exception
CreateUnknownNodeException ( ) : Exception
CreateUnknownTypeException ( XmlQualifiedName type ) : Exception
EnsureArrayIndex ( Array a, int index, Type elementType ) : Array
FixupArrayRefs ( object fixup ) : void
GetArrayLength ( string name, string ns ) : int
GetNullAttr ( ) : bool
GetTarget ( string id ) : object
GetXsiType ( ) : XmlQualifiedName
InitCallbacks ( ) : void
InitIDs ( ) : void
IsXmlnsAttribute ( string name ) : bool
ParseWsdlArrayType ( XmlAttribute attr ) : void
ReadElementQualifiedName ( ) : XmlQualifiedName
ReadEndElement ( ) : void
ReadNull ( ) : bool
ReadNullableQualifiedName ( ) : XmlQualifiedName
ReadNullableString ( ) : string
ReadReference ( string &fixupReference ) : bool
ReadReferencedElement ( ) : object
ReadReferencedElement ( string name, string ns ) : object
ReadReferencedElements ( ) : void
ReadReferencingElement ( string &fixupReference ) : object
ReadReferencingElement ( string name, string ns, bool elementCanBeType, string &fixupReference ) : object
ReadReferencingElement ( string name, string ns, string &fixupReference ) : object
ReadSerializable ( IXmlSerializable serializable ) : IXmlSerializable
ReadSerializable ( IXmlSerializable serializable, bool wrappedAny ) : IXmlSerializable
ReadString ( ) : string
ReadString ( string value ) : string
ReadString ( string value, bool trim ) : string
ReadTypedNull ( XmlQualifiedName type ) : object
ReadTypedPrimitive ( XmlQualifiedName type ) : object
ReadXmlDocument ( bool wrapped ) : XmlDocument
ReadXmlNode ( bool wrapped ) : XmlNode
Referenced ( object o ) : void
ResolveDynamicAssembly ( string assemblyFullName ) : Assembly
ShrinkArray ( Array a, int length, Type elementType, bool isNullable ) : Array
ToByteArrayBase64 ( bool isNull ) : byte[]
ToByteArrayBase64 ( string value ) : byte[]
ToByteArrayHex ( bool isNull ) : byte[]
ToByteArrayHex ( string value ) : byte[]
ToChar ( string value ) : char
ToDate ( string value ) : DateTime
ToDateTime ( string value ) : DateTime
ToEnum ( string value, Hashtable h, string typeName ) : long
ToTime ( string value ) : DateTime
ToXmlNCName ( string value ) : string
ToXmlName ( string value ) : string
ToXmlNmToken ( string value ) : string
ToXmlNmTokens ( string value ) : string
ToXmlQualifiedName ( string value ) : XmlQualifiedName
UnknownAttribute ( object o, XmlAttribute attr ) : void
UnknownAttribute ( object o, XmlAttribute attr, string qnames ) : void
UnknownElement ( object o, XmlElement elem ) : void
UnknownElement ( object o, XmlElement elem, string qnames ) : void
UnknownNode ( object o ) : void
UnknownNode ( object o, string qnames ) : void
UnreferencedObject ( string id, object o ) : void

Private Methods

Méthode Description
CurrentTag ( ) : string
DoFixups ( ) : void
GetCurrentPosition ( int &lineNumber, int &linePosition ) : void
GetPrimitiveType ( XmlQualifiedName typeName, bool throwOnUnknown ) : Type
HandleUnreferencedObjects ( ) : void
Init ( XmlReader r, XmlDeserializationEvents events, string encodingStyle, TempAssembly tempAssembly ) : void
Init ( XmlReader r, string encodingStyle ) : void
InitPrimitiveIDs ( ) : void
IsPrimitiveNamespace ( string ns ) : bool
IsTextualNode ( XmlNodeType nodeType ) : bool
ParseArrayType ( string value ) : SoapArrayInfo
ParseSoap12ArrayType ( string itemType, string arraySize ) : SoapArrayInfo
ReadArray ( string typeName, string typeNs ) : object
ReadByteArray ( bool isBase64 ) : byte[]
ReadStringValue ( ) : string
ReadTypedPrimitive ( XmlQualifiedName type, bool elementCanBeType ) : object
ReadXmlNodes ( bool elementCanBeType ) : object
ReadXmlQualifiedName ( ) : XmlQualifiedName
ToXmlQualifiedName ( string value, bool decodeName ) : XmlQualifiedName
UnknownNode ( XmlNode unknownNode, object o, string qnames ) : void

Method Details

AddFixup() protected méthode

protected AddFixup ( CollectionFixup fixup ) : void
fixup CollectionFixup
Résultat void

AddFixup() protected méthode

protected AddFixup ( Fixup fixup ) : void
fixup Fixup
Résultat void

AddReadCallback() protected méthode

protected AddReadCallback ( string name, string ns, Type type, XmlSerializationReadCallback read ) : void
name string
ns string
type Type
read XmlSerializationReadCallback
Résultat void

AddTarget() protected méthode

protected AddTarget ( string id, object o ) : void
id string
o object
Résultat void

CheckReaderCount() protected méthode

protected CheckReaderCount ( int &whileIterations, int &readerCount ) : void
whileIterations int
readerCount int
Résultat void

CollapseWhitespace() protected méthode

protected CollapseWhitespace ( string value ) : string
value string
Résultat string

CreateAbstractTypeException() protected méthode

protected CreateAbstractTypeException ( string name, string ns ) : Exception
name string
ns string
Résultat Exception

CreateBadDerivationException() protected méthode

protected CreateBadDerivationException ( string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase ) : Exception
xsdDerived string
nsDerived string
xsdBase string
nsBase string
clrDerived string
clrBase string
Résultat Exception

CreateCtorHasSecurityException() protected méthode

protected CreateCtorHasSecurityException ( string typeName ) : Exception
typeName string
Résultat Exception

CreateInaccessibleConstructorException() protected méthode

protected CreateInaccessibleConstructorException ( string typeName ) : Exception
typeName string
Résultat Exception

CreateInvalidCastException() protected méthode

protected CreateInvalidCastException ( Type type, object value ) : Exception
type Type
value object
Résultat Exception

CreateInvalidCastException() protected méthode

protected CreateInvalidCastException ( Type type, object value, string id ) : Exception
type Type
value object
id string
Résultat Exception

CreateMissingIXmlSerializableType() protected méthode

protected CreateMissingIXmlSerializableType ( string name, string ns, string clrType ) : Exception
name string
ns string
clrType string
Résultat Exception

CreateReadOnlyCollectionException() protected méthode

protected CreateReadOnlyCollectionException ( string name ) : Exception
name string
Résultat Exception

CreateUnknownConstantException() protected méthode

protected CreateUnknownConstantException ( string value, Type enumType ) : Exception
value string
enumType Type
Résultat Exception

CreateUnknownNodeException() protected méthode

protected CreateUnknownNodeException ( ) : Exception
Résultat Exception

CreateUnknownTypeException() protected méthode

protected CreateUnknownTypeException ( XmlQualifiedName type ) : Exception
type XmlQualifiedName
Résultat Exception

EnsureArrayIndex() protected méthode

protected EnsureArrayIndex ( Array a, int index, Type elementType ) : Array
a Array
index int
elementType Type
Résultat Array

FixupArrayRefs() protected méthode

protected FixupArrayRefs ( object fixup ) : void
fixup object
Résultat void

GetArrayLength() protected méthode

protected GetArrayLength ( string name, string ns ) : int
name string
ns string
Résultat int

GetNullAttr() protected méthode

protected GetNullAttr ( ) : bool
Résultat bool

GetTarget() protected méthode

protected GetTarget ( string id ) : object
id string
Résultat object

GetXsiType() protected méthode

protected GetXsiType ( ) : XmlQualifiedName
Résultat XmlQualifiedName

InitCallbacks() protected abstract méthode

protected abstract InitCallbacks ( ) : void
Résultat void

InitIDs() protected abstract méthode

protected abstract InitIDs ( ) : void
Résultat void

IsXmlnsAttribute() protected méthode

protected IsXmlnsAttribute ( string name ) : bool
name string
Résultat bool

ParseWsdlArrayType() protected méthode

protected ParseWsdlArrayType ( XmlAttribute attr ) : void
attr XmlAttribute
Résultat void

ReadElementQualifiedName() protected méthode

protected ReadElementQualifiedName ( ) : XmlQualifiedName
Résultat XmlQualifiedName

ReadEndElement() protected méthode

protected ReadEndElement ( ) : void
Résultat void

ReadNull() protected méthode

protected ReadNull ( ) : bool
Résultat bool

ReadNullableQualifiedName() protected méthode

protected ReadNullableQualifiedName ( ) : XmlQualifiedName
Résultat XmlQualifiedName

ReadNullableString() protected méthode

protected ReadNullableString ( ) : string
Résultat string

ReadReference() protected méthode

protected ReadReference ( string &fixupReference ) : bool
fixupReference string
Résultat bool

ReadReferencedElement() protected méthode

protected ReadReferencedElement ( ) : object
Résultat object

ReadReferencedElement() protected méthode

protected ReadReferencedElement ( string name, string ns ) : object
name string
ns string
Résultat object

ReadReferencedElements() protected méthode

protected ReadReferencedElements ( ) : void
Résultat void

ReadReferencingElement() protected méthode

protected ReadReferencingElement ( string &fixupReference ) : object
fixupReference string
Résultat object

ReadReferencingElement() protected méthode

protected ReadReferencingElement ( string name, string ns, bool elementCanBeType, string &fixupReference ) : object
name string
ns string
elementCanBeType bool
fixupReference string
Résultat object

ReadReferencingElement() protected méthode

protected ReadReferencingElement ( string name, string ns, string &fixupReference ) : object
name string
ns string
fixupReference string
Résultat object

ReadSerializable() protected méthode

protected ReadSerializable ( IXmlSerializable serializable ) : IXmlSerializable
serializable IXmlSerializable
Résultat IXmlSerializable

ReadSerializable() protected méthode

protected ReadSerializable ( IXmlSerializable serializable, bool wrappedAny ) : IXmlSerializable
serializable IXmlSerializable
wrappedAny bool
Résultat IXmlSerializable

ReadString() protected méthode

protected ReadString ( ) : string
Résultat string

ReadString() protected méthode

protected ReadString ( string value ) : string
value string
Résultat string

ReadString() protected méthode

protected ReadString ( string value, bool trim ) : string
value string
trim bool
Résultat string

ReadTypedNull() protected méthode

protected ReadTypedNull ( XmlQualifiedName type ) : object
type XmlQualifiedName
Résultat object

ReadTypedPrimitive() protected méthode

protected ReadTypedPrimitive ( XmlQualifiedName type ) : object
type XmlQualifiedName
Résultat object

ReadXmlDocument() protected méthode

protected ReadXmlDocument ( bool wrapped ) : XmlDocument
wrapped bool
Résultat XmlDocument

ReadXmlNode() protected méthode

protected ReadXmlNode ( bool wrapped ) : XmlNode
wrapped bool
Résultat XmlNode

Referenced() protected méthode

protected Referenced ( object o ) : void
o object
Résultat void

ResolveDynamicAssembly() protected static méthode

protected static ResolveDynamicAssembly ( string assemblyFullName ) : Assembly
assemblyFullName string
Résultat Assembly

ShrinkArray() protected méthode

protected ShrinkArray ( Array a, int length, Type elementType, bool isNullable ) : Array
a Array
length int
elementType Type
isNullable bool
Résultat Array

ToByteArrayBase64() protected méthode

protected ToByteArrayBase64 ( bool isNull ) : byte[]
isNull bool
Résultat byte[]

ToByteArrayBase64() protected static méthode

protected static ToByteArrayBase64 ( string value ) : byte[]
value string
Résultat byte[]

ToByteArrayHex() protected méthode

protected ToByteArrayHex ( bool isNull ) : byte[]
isNull bool
Résultat byte[]

ToByteArrayHex() protected static méthode

protected static ToByteArrayHex ( string value ) : byte[]
value string
Résultat byte[]

ToChar() protected static méthode

protected static ToChar ( string value ) : char
value string
Résultat char

ToDate() protected static méthode

protected static ToDate ( string value ) : DateTime
value string
Résultat DateTime

ToDateTime() protected static méthode

protected static ToDateTime ( string value ) : DateTime
value string
Résultat DateTime

ToEnum() protected static méthode

protected static ToEnum ( string value, Hashtable h, string typeName ) : long
value string
h Hashtable
typeName string
Résultat long

ToTime() protected static méthode

protected static ToTime ( string value ) : DateTime
value string
Résultat DateTime

ToXmlNCName() protected static méthode

protected static ToXmlNCName ( string value ) : string
value string
Résultat string

ToXmlName() protected static méthode

protected static ToXmlName ( string value ) : string
value string
Résultat string

ToXmlNmToken() protected static méthode

protected static ToXmlNmToken ( string value ) : string
value string
Résultat string

ToXmlNmTokens() protected static méthode

protected static ToXmlNmTokens ( string value ) : string
value string
Résultat string

ToXmlQualifiedName() protected méthode

protected ToXmlQualifiedName ( string value ) : XmlQualifiedName
value string
Résultat XmlQualifiedName

UnknownAttribute() protected méthode

protected UnknownAttribute ( object o, XmlAttribute attr ) : void
o object
attr XmlAttribute
Résultat void

UnknownAttribute() protected méthode

protected UnknownAttribute ( object o, XmlAttribute attr, string qnames ) : void
o object
attr XmlAttribute
qnames string
Résultat void

UnknownElement() protected méthode

protected UnknownElement ( object o, XmlElement elem ) : void
o object
elem XmlElement
Résultat void

UnknownElement() protected méthode

protected UnknownElement ( object o, XmlElement elem, string qnames ) : void
o object
elem XmlElement
qnames string
Résultat void

UnknownNode() protected méthode

protected UnknownNode ( object o ) : void
o object
Résultat void

UnknownNode() protected méthode

protected UnknownNode ( object o, string qnames ) : void
o object
qnames string
Résultat void

UnreferencedObject() protected méthode

protected UnreferencedObject ( string id, object o ) : void
id string
o object
Résultat void