C# Class 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.
Afficher le fichier Open project: flq/XamlTags Class Usage Examples

Méthodes publiques

Méthode Description
BamlRootElementCheck ( BamlBinaryReader reader ) : System
RootElement ( ) : string

Private Methods

Méthode Description
ComputeBytesToSkip ( ) : void
EnsureInit ( ) : void
ProcessNext ( ) : void
ReadAssemblyInfo ( ) : void
ReadAttributeInfo ( ) : void
ReadDocumentStart ( ) : void
ReadElementStart ( ) : string
ReadPiMapping ( ) : void
ReadStringInfo ( ) : void
ReadTypeInfo ( ) : void

Method Details

BamlRootElementCheck() public méthode

public BamlRootElementCheck ( BamlBinaryReader reader ) : System
reader BamlBinaryReader
Résultat System

RootElement() public méthode

public RootElement ( ) : string
Résultat string