Is there a way to use interface delegation and access the delegate without making it a constructor parameter? 🤔
m
murphy
12/13/2018, 6:22 PM
Perhaps you could make the primary constructor private, add a parameter for the delegate and add a secondary constructor that synthesizes the delegate and invokes the primary constructor.
murphy
12/13/2018, 6:23 PM
I'll admit it's not the prettiest solution, though 😕