Closed benjaminc closed 3 years ago
I apologize, but could we undo these changes? It all compiled fine, and seemed to work, but when I went to put the attribute on a class it complained because apparently attributes can only have properties of a fixed set of types, and Func is not in that list.
After scrambling around yesterday trying to make it work, I then went back to trying to figure out how this is done in other parts of Umbraco so I could model it that way instead, and realized that the TreeControllerBase.MenuRendering event actually does fire for the custom back-office sections. So you can do what I wanted to do without any changes to your existing implementation! Very sorry.
haha no worries, yeah will undo! thanks for the update
Mind also updating the docs?