Dark
❔ Dictionary of delegates for non-static functions. (Task & Action)
This code does work! Thank you @Kouhai, I realize now that I did miss some details I did have to modify some of this but I managed to make it work for Actions. I do have a question though. Is there a way to use this with Delegate instead of Action? I will have times when I'm trying todo a Func or Action because I have some that have return types.
17 replies
❔ Dictionary of delegates for non-static functions. (Task & Action)
I want to call from a static Dictionary. I will be running the actual directory lookup from the PacketHandler to Invoke the code. I just need a way to write it so it's valid and to pass PacketHandler/this.
17 replies