public static void AddAttribute(this Ban ban, BanAttribute attribute) { ban.BanAttributes |= attribute; }