System.Xml.Xsl.Qil.QilTypeChecker.CheckLiteralInt32 C# (CSharp) Method

CheckLiteralInt32() public method

public CheckLiteralInt32 ( QilLiteral node ) : XmlQueryType
node QilLiteral
return XmlQueryType
        public XmlQueryType CheckLiteralInt32(QilLiteral node) {
            CheckLiteralValue(node, typeof(int));
            return XmlQueryTypeFactory.IntX;
        }
        

Usage Example

Exemplo n.º 1
0
        public QilLiteral LiteralInt32(int value)
        {
            QilLiteral n = new QilLiteral(QilNodeType.LiteralInt32, value);

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