/// <summary> /// Creates a new compound selector with the given selectors. /// </summary> /// <param name="selectors">The selectors.</param> /// <returns>The new compound selector.</returns> internal static CompoundSelector Create(params SimpleSelector[] selectors) { var compound = new CompoundSelector(); for (int i = 0; i < selectors.Length; i++) compound.selectors.Add(selectors[i]); return compound; }
/// <summary> /// Creates a new compound selector with the given selectors. /// </summary> /// <param name="selectors">The selectors.</param> /// <returns>The new compound selector.</returns> internal static CompoundSelector Create(params SimpleSelector[] selectors) { var compound = new CompoundSelector(); for (int i = 0; i < selectors.Length; i++) { compound.selectors.Add(selectors[i]); } return(compound); }