[Mono-dev] HttpApplicationFactory Patch for HttoModule Events

met at uberstats.com met at uberstats.com
Wed Apr 12 14:33:27 EDT 2006

I was trying to get a custom module's event attached to Global.asax without
success. Apparently HttpApplicationFactory's AddHandler was always using
EventHandler instead of the EventInfo's EventHandlerType. The attached patch
has a one line fix.

I've tested this patch against my custom module event as well as an
Application_OnError wireups - both works.

Hope this helps,

~ Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpApplicationFactory.cs.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060412/e5da630c/attachment.bin 

More information about the Mono-devel-list mailing list