System.Xml.Xsl.Qil.QilTypeChecker.CheckUnion C# (CSharp) 메소드

CheckUnion() 공개 메소드

public CheckUnion ( QilBinary node ) : XmlQueryType
node QilBinary
리턴 XmlQueryType
        public XmlQueryType CheckUnion(QilBinary node) {
            CheckXmlType(node.Left, XmlQueryTypeFactory.NodeNotRtfS);
            CheckXmlType(node.Right, XmlQueryTypeFactory.NodeNotRtfS);
            return DistinctType(XmlQueryTypeFactory.Sequence(node.Left.XmlType, node.Right.XmlType));
        }
        

Usage Example

예제 #1
0
        public QilBinary Union(QilNode left, QilNode right)
        {
            QilBinary n = new QilBinary(QilNodeType.Union, left, right);

            n.XmlType = _typeCheck.CheckUnion(n);
            TraceNode(n);
            return(n);
        }
QilTypeChecker