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

CopyEndEvent() private method

private CopyEndEvent ( XPathNavigator node ) : bool
node XPathNavigator
return bool
        internal bool CopyEndEvent(XPathNavigator node) {
            switch (node.NodeType) {
            case XPathNodeType.Element:
            case XPathNodeType.Attribute:
            case XPathNodeType.ProcessingInstruction:
            case XPathNodeType.Comment:
            case XPathNodeType.Namespace:
                return EndEvent(node.NodeType);

            case XPathNodeType.Text:
                // Text was copied in CopyContents();
                break;


            case XPathNodeType.Root:
            case XPathNodeType.Whitespace:
            case XPathNodeType.SignificantWhitespace:
            case XPathNodeType.All:
                break;

            default:
                Debug.Fail("Invalid XPathNodeType in CopyEndEvent");
                break;
            }

            return true;
        }

Usage Example

コード例 #1
0
 private static bool SendEndEvent(Processor processor, XPathNavigator node) {
     return processor.CopyEndEvent(node);
 }
All Usage Examples Of System.Xml.Xsl.XsltOld.Processor::CopyEndEvent