Esempio n. 1
0
 public string NotContainsAll(ExprNodePropOrStreamSet other)
 {
     if (other._properties != null)
     {
         foreach (ExprNodePropOrStreamPropDesc otherProp in other._properties)
         {
             bool found = FindItem(otherProp);
             if (!found)
             {
                 return(otherProp.Textual);
             }
         }
     }
     if (other._expressions != null)
     {
         foreach (ExprNodePropOrStreamExprDesc otherExpr in other._expressions)
         {
             bool found = FindItem(otherExpr);
             if (!found)
             {
                 return(otherExpr.Textual);
             }
         }
     }
     return(null);
 }
Esempio n. 2
0
 public void AddAll(ExprNodePropOrStreamSet other)
 {
     if (other._properties != null)
     {
         AllocateProperties();
         _properties.AddAll(other._properties);
     }
     if (other._expressions != null)
     {
         AllocateExpressions();
         _expressions.AddAll(other._expressions);
     }
 }