There's no static foreach, so have to do template recursion on the EnumMembers.