public static IsEmpty ( IEnumerable collection ) : void | ||
collection | IEnumerable | An array, list or other collection implementing IEnumerable |
return | void |
public void PrimaryTypeAndAdditionalInterfaceTypesCorrectWhenOnlyOneTypeSpecified() { CompositeType type = new CompositeType(new[] { typeof(IDisposable) }); Assert.AreEqual(typeof(IDisposable), type.PrimaryType, "Incorrect PrimaryType"); CollectionAssert.IsEmpty(type.AdditionalInterfaceTypes, "Incorrect AdditionalInterfaceTypes"); }
public void GetMatchingMethodsIgnoresPrivateMethods() { CollectionAssert.IsEmpty(new CompositeType(new[] { typeof(SqlOrderDataSource) }) .GetMatchingMethods(new MethodNameMatcher("PrivateMethod"), true)); }