private IsPrimitiveNumeric ( XmlQueryType typ ) : bool | ||
typ | XmlQueryType | |
Результат | bool |
private bool IsPrimitiveNumeric(XmlQueryType typ) {
if (typ == XmlQueryTypeFactory.IntX) return true;
if (typ == XmlQueryTypeFactory.IntegerX) return true;
if (typ == XmlQueryTypeFactory.DecimalX) return true;
if (typ == XmlQueryTypeFactory.FloatX) return true;
if (typ == XmlQueryTypeFactory.DoubleX) return true;
return false;
}