Skip to content

A way to create a class that implements a visitor interface #3

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

Open
Rekkonnect opened this issue Apr 24, 2023 · 0 comments
Open

A way to create a class that implements a visitor interface #3

Rekkonnect opened this issue Apr 24, 2023 · 0 comments

Comments

@Rekkonnect
Copy link

I think it would be useful to be able to define a class that would have the implementation methods of the interface automatically generated. It would be configurable like so:

  • abstract, virtual or not
  • throwing NotImplementedException or returning the default value, if non-void

The generator could also optionally avoid implementing methods that are already present in the definition.

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

No branches or pull requests

1 participant