C# Класс DynamicXaml.ResourcesSystem.BamlRootElementCheck

Adapted from the StylesExplorer project on codeplex. The original class is able to fully parse the BAML. This class is reduced to read the root element to identify whether it is a ResourceDictionary or not. That way we can skip instantiating things that we shouldn't instantiate.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BamlRootElementCheck ( BamlBinaryReader reader ) : System
RootElement ( ) : string

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

Метод Описание
ComputeBytesToSkip ( ) : void
EnsureInit ( ) : void
ProcessNext ( ) : void
ReadAssemblyInfo ( ) : void
ReadAttributeInfo ( ) : void
ReadDocumentStart ( ) : void
ReadElementStart ( ) : string
ReadPiMapping ( ) : void
ReadStringInfo ( ) : void
ReadTypeInfo ( ) : void

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

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

public BamlRootElementCheck ( BamlBinaryReader reader ) : System
reader BamlBinaryReader
Результат System

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

public RootElement ( ) : string
Результат string