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