Exemplo n.º 1
0
 public static bool IsICollectionPropertyGetter(MethodInfo method)
 {
     return(IsPropertyGetter(method) && GenericTypeUtil.IsGenericICollection(method.ReturnType));
 }
Exemplo n.º 2
0
 public void TestArrayIsICollection()
 {
     int[] i = new int[10];
     Assert.IsTrue(GenericTypeUtil.IsGenericICollection(i.GetType()));
 }