public TemplateReader(Wax.PkgAwareFileUtil fileUtil, AbstractPlatform platform, string activeCrayonSourceRoot) { this.activeCrayonSourceRoot = activeCrayonSourceRoot; this.fileUtil = fileUtil; AbstractPlatform walker = platform; while (walker != null) { platformNamesMostGeneralFirst.Add(walker.Name); walker = walker.ParentPlatform; } platformNamesMostGeneralFirst.Reverse(); }