System.Xml.Xsl.XsltOld.Processor.PushTemplateLookup C# (CSharp) Method

PushTemplateLookup() private method

private PushTemplateLookup ( XPathNodeIterator nodeSet, XmlQualifiedName mode, Stylesheet importsOf ) : void
nodeSet XPathNodeIterator
mode XmlQualifiedName
importsOf Stylesheet
return void
        internal void PushTemplateLookup(XPathNodeIterator nodeSet, XmlQualifiedName mode, Stylesheet importsOf) {
            Debug.Assert(this.templateLookup != null);
            this.templateLookup.Initialize(mode, importsOf);
            PushActionFrame(this.templateLookup, nodeSet);
        }

Usage Example

示例#1
0
 internal override void Execute(Processor processor, ActionFrame frame) {
     Debug.Assert(processor != null && frame != null);
     switch (frame.State) {
     case Initialized:
         processor.PushTemplateLookup(frame.NodeSet, this.mode, /*importsOf:*/this.stylesheet);
         frame.State = TemplateProcessed;
         break;
     case TemplateProcessed:
         frame.Finished();
         break;
     }
 }
All Usage Examples Of System.Xml.Xsl.XsltOld.Processor::PushTemplateLookup