internal override void PrepareNoCompilePageSupport() { base.PrepareNoCompilePageSupport(); // This is needed to break any connection with the TemplateParser, allowing it // to be fully collected when the parsing is complete _typeMapper = null; }
internal override void PrepareNoCompilePageSupport() { base.PrepareNoCompilePageSupport(); // This is needed to break any connection with the TemplateParser, allowing it // to be fully collected when the parsing is complete _typeMapper = null; }
/// <include file='doc\RootBuilder.uex' path='docs/doc[@for="RootBuilder.RootBuilder"]/*' /> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> public RootBuilder(TemplateParser parser) { // Initialize the type mapper _typeMapper = new MainTagNameToTypeMapper(); // Map asp: prefix to System.Web.UI.WebControls _typeMapper.AddSubMapper("asp", "System.Web.UI.WebControls", GetType().Assembly); // Register the <object> tag _typeMapper.RegisterTag("object", typeof(System.Web.UI.ObjectTag)); }
/* * Do some initialization before the parsing */ internal virtual void PrepareParse() { if (_circularReferenceChecker == null) _circularReferenceChecker = new CaseInsensitiveStringSet(); _baseType = DefaultBaseType; // Initialize the main directive _mainDirectiveConfigSettings = CreateEmptyAttributeBag(); // Get the config sections we care about if (!FInDesigner) { _compConfig = MTConfigUtil.GetCompilationConfig(CurrentVirtualPath); _pagesConfig = MTConfigUtil.GetPagesConfig(CurrentVirtualPath); } // Get default settings from config ProcessConfigSettings(); // Initialize the type mapper // This must follow processing of config, so it can use the results _typeMapper = new MainTagNameToTypeMapper(this as BaseTemplateParser); // Register the <object> tag _typeMapper.RegisterTag("object", typeof(System.Web.UI.ObjectTag)); _sourceDependencies = new CaseInsensitiveStringSet(); // Create and seed the stack of ID lists. _idListStack = new Stack(); _idList = new CaseInsensitiveStringSet(); _scriptList = new ArrayList(); // Optionally collect additional parse data for render tracing InitializeParseRecorders(); }
internal void SetTypeMapper(MainTagNameToTypeMapper typeMapper) { _typeMapper = typeMapper; }
internal override void PrepareNoCompilePageSupport() { base.PrepareNoCompilePageSupport(); this._typeMapper = null; }
internal void SetTypeMapper(MainTagNameToTypeMapper typeMapper) { _typeMapper = typeMapper; }
internal override void PrepareNoCompilePageSupport() { base.PrepareNoCompilePageSupport(); this._typeMapper = null; }