public DomObjectQuery After(params DomAttribute[] nextAttributes)
 {
     if (nextAttributes == null)
     {
         throw new ArgumentNullException(nameof(nextAttributes));
     }
     return(Each(n => n.After(nextAttributes), n => n.After(DomAttribute.CloneAll(nextAttributes))));
 }
 public DomObjectQuery Before(params DomAttribute[] previousAttributes)
 {
     if (previousAttributes == null)
     {
         throw new ArgumentNullException(nameof(previousAttributes));
     }
     return(Each(n => n.Before(previousAttributes), n => n.Before(DomAttribute.CloneAll(previousAttributes))));
 }