System.Xml.Xsl.XsltOld.NamespaceEvent.Output C# (CSharp) Method

Output() public method

public Output ( Processor processor, ActionFrame frame ) : bool
processor Processor
frame ActionFrame
return bool
        public override bool Output(Processor processor, ActionFrame frame) {
            bool res;
            res = processor.BeginEvent(XPathNodeType.Namespace, /*prefix:*/null, this.name, this.namespaceUri, /*empty:*/false);
            Debug.Assert(res); // Namespace node as any other attribute can't fail because it doesn't signal record change
            res = processor.EndEvent(XPathNodeType.Namespace);
            Debug.Assert(res);
            return true;
        }
    }