EventAggregate publishing twice?

Jan 29, 2010 at 3:18 AM

Can someone please explain why my EventAggregate is publishing an event twice for each invocation?

When I publish like so:


but subscription callback is invoked twice even though I subscribed just once.  Any ideas?


Jan 29, 2010 at 7:14 PM


Without knowing the specifics of your application, one possible cause could be that multiple instances of the class that is subscribing to the event are being created.

If the above does not help, please provide a small repro sample of your scenario, so we can try to solve this issue.

Please let me know if this helps.

Damian Schenkelman

Jan 29, 2010 at 10:12 PM

That was it, thanks.