eventaggregator Questions
2
Solved
When should I be using an Event Handler versus an Event Aggregator?
In my code, I have two ViewModels that controlled by a parent ViewModel, I am trying to decide if I should just use an event han...
Schramke asked 26/11, 2012 at 13:24
4
Solved
Given the following scenario:
ViewModelA launches ViewModelB (via a common Controller, of course, that uses Ioc and DI to resolve the types needed).
ViewModelB needs to set a property value in Vi...
Atombomb asked 26/1, 2011 at 16:31
2
Solved
Caliburn.Micro. Automatically call eventaggregator.Subscribe() for IHandle implementors with Autofac
In Caliburn.Micro documentation the authors mention such possibility:
documentation link
IHandle inherits from a marker interface IHandle. This allows the use of casting to determine if an obje...
Allegro asked 29/7, 2011 at 9:22
1
Solved
Im trying to get my EventAggregator in Prism working based on this example MSDN.
After having some problems that where caused by mixing up class references i would like to know the difference of:
...
Pavlodar asked 19/11, 2014 at 7:47
1
Solved
Can someone please help me sought out if I/Messenger class (and implementation) from MVVM light toolkit demonstrates usage of Event Aggregator Pattern or Mediator Pattern?
If someone proposes that...
Ruhnke asked 30/3, 2014 at 18:23
1
For the sake of simple inter-module communication there were classic .NET events, but there are too many right now and there are chains of events calling each other through modules.
Like Event_A t...
Godfearing asked 13/2, 2014 at 18:34
3
Solved
I have a class, that subscribes to an event via PRISMs event aggregator.
As it is somewhat hard to mock the event aggregator as noted here, I just instantiate a real one and pass it to the system ...
Redan asked 3/3, 2010 at 21:37
2
Solved
What are the main benefits backbone.wreqr has over a js object, both cases having access to marionette's Event aggregator.
Wouldn't assigning/calling methods from an object work the same way as Com...
Plyler asked 29/9, 2013 at 0:0
2
Solved
I've been studying a lot of the common ways that developers design/architect an application on domain driven design (Still trying to understand the concept as a whole). Some of the examples that I ...
Bearce asked 23/8, 2013 at 13:28
2
Solved
I am learning Caliburn Micro and try to make use of the EventAggregator from the official site.
However, I got an exception
"No parameterless constructor defined for this object."
The messa...
Wakashan asked 23/7, 2013 at 5:42
3
Solved
I have an application that does CRUD for a Collection of Models. There is a DisplayView for each model that is always visible. There is also an EditView that is visible only when the associated Dis...
Wording asked 9/1, 2012 at 15:47
2
Solved
I have spent the last 2 weeks learning backbone and related tools as well as writing an application. I have hit a wall with a design issue and would like to know what kind of solutions are availabl...
Pollinosis asked 6/1, 2013 at 19:35
2
Solved
I have a number of backbone models, organized in collections and connected to their corresponding views and/or collections of views. Some of these models that do not belong to the same collection n...
Pseudohermaphrodite asked 13/9, 2012 at 7:36
1
Solved
I am working on a WPF project, using MVVM and Microsoft Prism libraries. So, when I need to communicate through classes I use the class Microsoft.Practices.Prism.MefExtensions.Events.MefEventAggreg...
Milium asked 28/6, 2012 at 22:53
1
Solved
I'm using Prism's EventAggregator for loosely coupled communication between my module's ViewModels. I have have several properties (e.g. FirstName, LastName) in ViewModelA which need to update prop...
Hewlett asked 8/3, 2012 at 3:0
2
Solved
I am trying to implement the event aggregator pattern in a simple way to learn it step by step. But i didn't find any book or nice video tutorial talking about it's implementation.
I just found som...
Garda asked 9/8, 2010 at 1:37
3
I use Composite WPF(Prism) and I am trying to unit test that my Controller does in fact subscribe to a Composite Event.
My subscription code looks as follows...
//Init Events.
this.eventAggregato...
Brno asked 27/7, 2009 at 9:29
1
Solved
I have a PRISM RegionManager with a couple of region - a Ribbon region on the top, and a main content region for my view underneath it - fairly basic.
The app starts with a "home" view in the main...
Audile asked 30/11, 2010 at 4:58
1
I need some advice on how to use Moq in a unit test to make sure that my class under test is behaving how I want. That is the class under test publishes an Event Aggregator (from Prism) event and I...
Gushy asked 1/8, 2010 at 7:26
2
Solved
I worked my way through the Prism guidance and think I got a grasp of most of their communication vehicles.
Commanding is very straightforward, so it is clear that the DelegateCommand will be use...
Czardom asked 5/10, 2009 at 13:7
1
Solved
I got this sample http://jfromaniello.blogspot.com/2010/04/event-aggregator-with-reactive.html,
Which describe event aggregator pattern using .net 4.0 but i didn't find in the sample code the ISu...
Craftwork asked 9/8, 2010 at 11:13
3
Solved
Is this thread-safe?
The EventAggregator in Prism is a very simple class with only one method. I was surprised when I noticed that there was no lock around the null check and creation of a new typ...
Moussaka asked 14/5, 2010 at 12:24
2
Solved
I'm working on implementing an event aggregation with Prism. I have a few modules, and I want each of them to subscribe to events that tells them when they are requested. I started out doing an all...
Hectoliter asked 27/11, 2009 at 21:47
1
© 2022 - 2024 — McMap. All rights reserved.