I always look at the prism's executor and only used with GetEvent which is very strange. I am used to the old CAB event system - I am using the intermediate implementation from Marlon Grech - where I have defined string strings, the way I make additional classes to fire / wrap my data do not require. [MediatorMessageSink (MediatorMessages.AddSchoolclass, parameter type = typef (int))] Added Public Zero Onschool Class (Int Schoolly ID) {// Work with School Class ID}
How can I do this with Prismom?
You can declare a single event class to use Pass all your events, and a string, because it is payload, but I actually Prism developers will not be able to confuse that attitude in this.
The event aggregator uses different architecture than the old CAM. When I made the change then I was not happy about the need for an event item but I have been sold on the point of view since then - Event item is basically a liner that I generate using the Response template. The reason I like this is that it gives me the place to keep any argument, so that I may have to go with the incident.
Comments
Post a Comment