BetterEvents-Deprecated icon indicating copy to clipboard operation
BetterEvents-Deprecated copied to clipboard

[Feature request \ perhaps quick fix?] - Limiting methods found from objects [Generic constraints?]

Open kobi666 opened this issue 5 years ago • 1 comments

I was wondering if there is a quick way to limit the type of methods \ members found from the event entries. I tried to look into the code to see if I can refactor it somehow for that purpose, and I might, but I think it would be better to do so with your guidance.

Thanks, and awesome tool by the way!

kobi666 avatar Oct 09 '20 21:10 kobi666

I tried to do some tricks to your feature by using its core properties, and was somewhat successful. you have to forgive me for not doing this the GIT way, i'm kinda new to this and to property drawers. the only problems I found were these:

  1. after I select a method with a return value (i added a static return value list in the drawer class) , the object selector and return value selector return to default values
  2. it is not possible to have any return values which are not multicast delegates, which from what i saw means that they are not of "RuntimeType" ? not sure about this. would be really glad if you van take a look and point out what i'm doing wrong:

https://github.com/kobi666/evenBetterEvent

thanks!

kobi666 avatar Oct 09 '20 23:10 kobi666