static bool HasInjectAttribute(MemberInfo member) { return member.GetCustomAttributes(typeof(InjectAttribute), true).Any(); }