3 public partial class Matcher {
5 public static IAllOfMatcher AllOf(params
int[] indices) {
6 var matcher =
new Matcher();
7 matcher._allOfIndices = distinctIndices(indices);
11 public static IAllOfMatcher AllOf(params IMatcher[] matchers) {
12 var allOfMatcher = (Matcher)Matcher.AllOf(mergeIndices(matchers));
13 setComponentNames(allOfMatcher, matchers);
17 public static IAnyOfMatcher AnyOf(params
int[] indices) {
18 var matcher =
new Matcher();
19 matcher._anyOfIndices = distinctIndices(indices);
23 public static IAnyOfMatcher AnyOf(params IMatcher[] matchers) {
24 var anyOfMatcher = (Matcher)Matcher.AnyOf(mergeIndices(matchers));
25 setComponentNames(anyOfMatcher, matchers);