beakona / AutoInterface

C# interface-to-member source generator
MIT License
73 stars 9 forks source link

Derived interface implicit implementation #6

Closed Dblm0 closed 2 years ago

Dblm0 commented 2 years ago

Working with derived interfaces, I couldn't find a way to use AutoInterface attribute for code generation.

For proper understanding what I want to achieve, I've provided a PR #5 with rough solution to my problem.

beakona commented 2 years ago

I've published changes which address following:

  1. Fixed bug where backing members would be called multiple times.
  2. AutoInterface mechanism can be recursive (default is opt-out). Here is the link to an example.
  3. Interface list does not have to be explicit.
Dblm0 commented 2 years ago

Thanks!