I have a situation where I want to pass the current codeunit as a parameter when raising an event. Within the event subscriber I want to be able to read the attributes of the calling codeunit.
In other languages, I would just reference the current object with "this" or "self".
Is there a similar way with C/AL or AL for codeunits?