コード例 #1
0
        protected override void ExecuteCore(RazorCodeDocument codeDocument, DocumentIntermediateNode documentNode)
        {
            // There's no value in executing this pass at design time, it just prevents some allocations.
            if (documentNode.Options.DesignTime)
            {
                return;
            }

            var walker = new PreallocatedTagHelperWalker();

            walker.VisitDocument(documentNode);
        }
        protected override void ExecuteCore(RazorCodeDocument codeDocument, DocumentIntermediateNode documentNode)
        {
            var walker = new PreallocatedTagHelperWalker();

            walker.VisitDocument(documentNode);
        }