public bool IsApplicable(Type type) { if (!type.IsGenericType) { return false; } Type genericTypeDefinition = type.GetGenericTypeDefinition(); bool result = genericTypeDefinition == typeof (IList<>); return result; }