I wrote a class that registers methods (event listeners) in a linked list. The problem is I'm using a fixed procedural type like this:

TEventListener = procedure (Source: TObject; const Parameters: array of const) of object;

But I would like to know a way I could make this so that I could register any procedure with any set of parameters, and also that I could broadcast the event assigning those parameters.

Any ideas?

Regards!