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.
파일 보기 프로젝트 열기: flq/XamlTags 1 사용 예제들

공개 메소드들

메소드 설명
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