[Mono-list] Mono Embedding: manage events
Andreas Färber
andreas.faerber at web.de
Wed Apr 2 03:38:40 EDT 2008
Am 02.04.2008 um 09:12 schrieb Ing. Francesco Carsana:
>> The recommended way is to declare the handlers as icalls in
>> managed code:
>
> The problem is that I can't modify .NET assembly source code.
> I only know that assembly has this event:
>
> public event ConnectionEventHandler OnConnectionEvent;
>
> where ConnectionEventHandler is:
>
> public delegate void ConnectionEventHandler(string n, bool c);
>
> [...]
> Is there another way to do that?
If you can't modify/extend the existing assembly, likely you can
create a new assembly for that purpose. That's what I've been doing.
Andreas
More information about the Mono-list
mailing list