Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Ax 2012 EventHandler benefit?

$
0
0

Hello,

Let's assume I have Consumer class with static method: myEvent()

And I have class Producer.

I have two options in Producer class:

1. Sybscribe EvenetHandler:

producer.myEvent()

 OR second option:

2. I can just call static method:

Consumer:myEvent()

And in case if I need to call myEvent() in stanard Ax method, method is modified anyway and there is no some kind of indepenent code which is not affected by MS updates or other modifications.

Pleas tell me, where is the benefit?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>