private MatchesContentTest ( XmlQueryType typ ) : bool | ||
typ | XmlQueryType | |
리턴 | bool |
private bool MatchesContentTest(XmlQueryType typ) {
if (typ == XmlQueryTypeFactory.Element) return true;
if (typ == XmlQueryTypeFactory.Text) return true;
if (typ == XmlQueryTypeFactory.Comment) return true;
if (typ == XmlQueryTypeFactory.PI) return true;
if (typ == XmlQueryTypeFactory.Content) return true;
return false;
}