C# Класс Ricciolo.StylesExplorer.MarkupReflection.XmlBamlReader

Наследование: XmlReader, IXmlNamespaceResolver
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddKeyToElement void
CloseElement void
ComputeBytesToSkip void
Deserialize3DPoints String
DeserializeInt32CollectionFrom System.Windows.Media.Int32Collection
DeserializePoints string
EnqueueProperty void
EnsureInit void
FindByClrNamespaceAndAssemblyId Ricciolo.StylesExplorer.MarkupReflection.XmlPIMapping
FindByClrNamespaceAndAssemblyName Ricciolo.StylesExplorer.MarkupReflection.XmlPIMapping
FindXmlBamlElement Ricciolo.StylesExplorer.MarkupReflection.XmlBamlElement
FormatElementExtension void
FormatPropertyDeclaration string
FormatTypeDeclaration string
GetAssembly string
GetExtension string
GetKnownTypeDeclarationByName Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration
GetPropertyDeclaration Ricciolo.StylesExplorer.MarkupReflection.PropertyDeclaration
GetResourceName object
GetStaticExtension string
GetStaticResource object
GetTemplateBindingExtension string
GetTypeDeclaration Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration
GetTypeExtension string
HaveSeenNestedElement bool
IXmlNamespaceResolver string>.IDictionary
IXmlNamespaceResolver string
IsExtension bool
LayerPop void
LayerPush void
LookupPrefix string
LookupPrefix string
ProcessNext void
ReadAssemblyInfo void
ReadAttributeInfo void
ReadConnectionId void
ReadConstructorParameterType void
ReadConstructorParametersEnd void
ReadConstructorParametersStart void
ReadContentProperty void
ReadDefAttribute void
ReadDefAttributeKeyString void
ReadDefAttributeKeyType void
ReadElementEnd void
ReadElementStart void
ReadInternal bool
ReadKeyElementEnd void
ReadKeyElementStart void
ReadOptimizedStaticResource void
ReadPIMapping void
ReadPresentationOptionsAttribute void
ReadProperty void
ReadPropertyComplexEnd void
ReadPropertyComplexStart void
ReadPropertyCustom void
ReadPropertyDictionaryEnd void
ReadPropertyDictionaryStart void
ReadPropertyListEnd void
ReadPropertyListStart void
ReadPropertyTypeReference void
ReadPropertyWithConverter void
ReadPropertyWithExtension void
ReadPropertyWithStaticResourceIdentifier void
ReadRecordType void
ReadStaticResourceEnd void
ReadStaticResourceId void
ReadStaticResourceStart void
ReadStringInfo void
ReadText void
ReadTextWithConverter void
ReadTextWithId void
ReadTypeInfo void
ReadXmlnsProperty void
SetNextNode bool

Открытые методы

Метод Описание
Close ( ) : void

When overridden in a derived class, changes the to Closed.

GetAttribute ( int i ) : string

When overridden in a derived class, gets the value of the attribute with the specified index.

GetAttribute ( string name ) : string

When overridden in a derived class, gets the value of the attribute with the specified .

GetAttribute ( string name, string namespaceURI ) : string

When overridden in a derived class, gets the value of the attribute with the specified and .

LookupNamespace ( string prefix ) : string

When overridden in a derived class, resolves a namespace prefix in the current element's scope.

MoveToAttribute ( string name ) : bool

When overridden in a derived class, moves to the attribute with the specified .

MoveToAttribute ( string name, string ns ) : bool

When overridden in a derived class, moves to the attribute with the specified and .

MoveToElement ( ) : bool

When overridden in a derived class, moves to the element that contains the current attribute node.

MoveToFirstAttribute ( ) : bool

When overridden in a derived class, moves to the first attribute.

MoveToNextAttribute ( ) : bool

When overridden in a derived class, moves to the next attribute.

Read ( ) : bool

When overridden in a derived class, reads the next node from the stream.

ReadAttributeValue ( ) : bool

When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.

ResolveEntity ( ) : void

When overridden in a derived class, resolves the entity reference for EntityReference nodes.

XmlBamlReader ( Stream stream, ITypeResolver resolver ) : System

Приватные методы

Метод Описание
AddKeyToElement ( string key ) : void
CloseElement ( ) : void
ComputeBytesToSkip ( ) : void
Deserialize3DPoints ( ) : String
DeserializeInt32CollectionFrom ( BinaryReader reader ) : System.Windows.Media.Int32Collection
DeserializePoints ( ) : string
EnqueueProperty ( short identifier, string text ) : void
EnsureInit ( ) : void
FindByClrNamespaceAndAssemblyId ( Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration declaration ) : Ricciolo.StylesExplorer.MarkupReflection.XmlPIMapping
FindByClrNamespaceAndAssemblyName ( string clrNamespace, string assemblyName ) : Ricciolo.StylesExplorer.MarkupReflection.XmlPIMapping
FindXmlBamlElement ( ) : Ricciolo.StylesExplorer.MarkupReflection.XmlBamlElement
FormatElementExtension ( Ricciolo.StylesExplorer.MarkupReflection.XmlBamlElement element, StringBuilder sb ) : void
FormatPropertyDeclaration ( Ricciolo.StylesExplorer.MarkupReflection.PropertyDeclaration propertyDeclaration, bool withPrefix, bool useReading, bool checkType ) : string
FormatTypeDeclaration ( Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration typeDeclaration ) : string
GetAssembly ( short identifier ) : string
GetExtension ( Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration declaration, string value ) : string
GetKnownTypeDeclarationByName ( string assemblyQualifiedName ) : Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration
GetPropertyDeclaration ( short identifier ) : Ricciolo.StylesExplorer.MarkupReflection.PropertyDeclaration
GetResourceName ( short identifier ) : object
GetStaticExtension ( string name ) : string
GetStaticResource ( short identifier ) : object
GetTemplateBindingExtension ( Ricciolo.StylesExplorer.MarkupReflection.PropertyDeclaration propertyDeclaration ) : string
GetTypeDeclaration ( short identifier ) : Ricciolo.StylesExplorer.MarkupReflection.TypeDeclaration
GetTypeExtension ( short typeIdentifier ) : string
HaveSeenNestedElement ( ) : bool
IXmlNamespaceResolver ( XmlNamespaceScope scope ) : string>.IDictionary

Gets a collection of defined prefix-namespace Mappings that are currently in scope.

IXmlNamespaceResolver ( string prefix ) : string

Gets the namespace URI mapped to the specified prefix.

IsExtension ( IEnumerator enumerator ) : bool
LayerPop ( ) : void
LayerPush ( ) : void
LookupPrefix ( string namespaceName, XmlNamespaceCollection namespaces ) : string
LookupPrefix ( string namespaceName, bool useReading ) : string
ProcessNext ( ) : void
ReadAssemblyInfo ( ) : void
ReadAttributeInfo ( ) : void
ReadConnectionId ( ) : void
ReadConstructorParameterType ( ) : void
ReadConstructorParametersEnd ( ) : void
ReadConstructorParametersStart ( ) : void
ReadContentProperty ( ) : void
ReadDefAttribute ( ) : void
ReadDefAttributeKeyString ( ) : void
ReadDefAttributeKeyType ( ) : void
ReadElementEnd ( ) : void
ReadElementStart ( ) : void
ReadInternal ( ) : bool
ReadKeyElementEnd ( ) : void
ReadKeyElementStart ( ) : void
ReadOptimizedStaticResource ( ) : void
ReadPIMapping ( ) : void
ReadPresentationOptionsAttribute ( ) : void
ReadProperty ( ) : void
ReadPropertyComplexEnd ( ) : void
ReadPropertyComplexStart ( ) : void
ReadPropertyCustom ( ) : void
ReadPropertyDictionaryEnd ( ) : void
ReadPropertyDictionaryStart ( ) : void
ReadPropertyListEnd ( ) : void
ReadPropertyListStart ( ) : void
ReadPropertyTypeReference ( ) : void
ReadPropertyWithConverter ( ) : void
ReadPropertyWithExtension ( ) : void
ReadPropertyWithStaticResourceIdentifier ( ) : void
ReadRecordType ( ) : void
ReadStaticResourceEnd ( ) : void
ReadStaticResourceId ( ) : void
ReadStaticResourceStart ( ) : void
ReadStringInfo ( ) : void
ReadText ( ) : void
ReadTextWithConverter ( ) : void
ReadTextWithId ( ) : void
ReadTypeInfo ( ) : void
ReadXmlnsProperty ( ) : void
SetNextNode ( ) : bool

Описание методов

Close() публичный Метод

When overridden in a derived class, changes the to Closed.
public Close ( ) : void
Результат void

GetAttribute() публичный Метод

When overridden in a derived class, gets the value of the attribute with the specified index.
public GetAttribute ( int i ) : string
i int The index of the attribute. The index is zero-based. (The first attribute has index 0.)
Результат string

GetAttribute() публичный Метод

When overridden in a derived class, gets the value of the attribute with the specified .
public GetAttribute ( string name ) : string
name string The qualified name of the attribute.
Результат string

GetAttribute() публичный Метод

When overridden in a derived class, gets the value of the attribute with the specified and .
public GetAttribute ( string name, string namespaceURI ) : string
name string The local name of the attribute.
namespaceURI string The namespace URI of the attribute.
Результат string

LookupNamespace() публичный Метод

When overridden in a derived class, resolves a namespace prefix in the current element's scope.
public LookupNamespace ( string prefix ) : string
prefix string The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string.
Результат string

MoveToAttribute() публичный Метод

When overridden in a derived class, moves to the attribute with the specified .
public MoveToAttribute ( string name ) : bool
name string The qualified name of the attribute.
Результат bool

MoveToAttribute() публичный Метод

When overridden in a derived class, moves to the attribute with the specified and .
public MoveToAttribute ( string name, string ns ) : bool
name string The local name of the attribute.
ns string The namespace URI of the attribute.
Результат bool

MoveToElement() публичный Метод

When overridden in a derived class, moves to the element that contains the current attribute node.
public MoveToElement ( ) : bool
Результат bool

MoveToFirstAttribute() публичный Метод

When overridden in a derived class, moves to the first attribute.
public MoveToFirstAttribute ( ) : bool
Результат bool

MoveToNextAttribute() публичный Метод

When overridden in a derived class, moves to the next attribute.
public MoveToNextAttribute ( ) : bool
Результат bool

Read() публичный Метод

When overridden in a derived class, reads the next node from the stream.
An error occurred while parsing the XML.
public Read ( ) : bool
Результат bool

ReadAttributeValue() публичный Метод

When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.
public ReadAttributeValue ( ) : bool
Результат bool

ResolveEntity() публичный Метод

When overridden in a derived class, resolves the entity reference for EntityReference nodes.
The reader is not positioned on an EntityReference node; this implementation of the reader cannot resolve entities ( returns false).
public ResolveEntity ( ) : void
Результат void

XmlBamlReader() публичный Метод

public XmlBamlReader ( Stream stream, ITypeResolver resolver ) : System
stream Stream
resolver ITypeResolver
Результат System