protected WritePredicates ( XPathPart pathPart ) : void | ||
pathPart | XPathPart | |
return | void |
protected virtual void WritePredicates(XPathPart pathPart)
{
if(pathPart.Predicates == null)
{
return;
}
if(pathPart.Predicates.Count == 0)
{
return;
}
foreach(var predicate in pathPart.Predicates)
{
WritePredicateStart();
WriteAttributeName(predicate);
WriteAttributeValue(predicate);
WritePredicateEnd();
}
}