IsSubsetOf() public static méthode

Asserts that the superset contains the subset.
public static IsSubsetOf ( IEnumerable subset, IEnumerable superset ) : void
subset IEnumerable The IEnumerable subset to be considered
superset IEnumerable The IEnumerable superset to be considered
Résultat void
Exemple #1
0
        private void AssertAllMethodsWereLocated(MethodInfo[] expected, Matcher matcher, params Type[] typesToBuildCompositeTypeFrom)
        {
            IList <MethodInfo> matches = new CompositeType(typesToBuildCompositeTypeFrom)
                                         .GetMatchingMethods(matcher, false);

            CollectionAssert.IsSubsetOf(expected, matches);
        }