That follows from holding those partisan positions. For example, if you're an electoral candidate, it follows that you are running for office. If you are president of a riding association, that's clearly a partisan activity.
Quite frankly, at the end of the day, it's really up to the head of the agency to decide, on reference from a member of Parliament, whether or not that activity is considered to be partisan.