Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get all group in some context, without reflection。 #1082

Open
Ecstasyzzz opened this issue Nov 21, 2023 · 1 comment
Open

How to get all group in some context, without reflection。 #1082

Ecstasyzzz opened this issue Nov 21, 2023 · 1 comment

Comments

@Ecstasyzzz
Copy link

Ecstasyzzz commented Nov 21, 2023

How to get all group in some context ? i just want make sue to clear all group and call group.RemoveAllEventHandlers. for now, can only use reflection ?

@Ants-Aare
Copy link

Hey, thanks for asking the question. As of now this is not possible to do easily. But may I ask why you would want to do that? The list of groups is intentionally hidden and can only be changed from inside the context so that it can't be tampered with from the outside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

2 participants