mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* AspParser.cs: added an event raised when parsing is complete. * AspGenerator.cs: added support for PageParserFilter which, if found, is used to control certain aspects of code parsing (accepting/rejecting control types, accepting/rejecting code snippets, parsing completion) Added the AddControl method, used by PageParserFilter when a custom filter wants to inject a control in the current control builder tree. 2009-02-13 Marek Habersack <[email protected]> * TemplateParser.cs: PageParserFilter handling moved to here. PagesConfig must use the current virtual path when retrieving the section, or otherwise we'll miss the lower level web.configs. Added the AddControl method, used by PageParserFilter. Implementing filtering of: parsed directives and the base type, if a page parser filter is present. * PageParserFilter.cs: added missing 3.5 members and implemented everything. * PageParser.cs: moved PageParserFilter processing to TemplateParser. VirtualPath must be set before anything else. Call page parser filter's directive preprocessing code from AddDirective if a filter is present and a mastertype or previouspagetype directive is parsed. * MasterPageParser.cs: when PageParserFilter is present use it to preprocess the MasterType directive. svn path=/trunk/mcs/; revision=126855