Example #1
0
 public static bool ContainsEnumerableInterface(Type type)
 {
     if (type != typeof(string))
     {
         return(TypeSystem.ContainsInterface(type, typeof(IEnumerable)));
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public static bool ContainsDictionaryInterface(Type type)
 {
     return(TypeSystem.ContainsInterface(type, typeof(IDictionary)));
 }