I have some Views and Presenters. In my architecture, they have a circular dependency, so the View has a reference to the Presenter and vice-versa.
Now, which is the more commonly used:
class View
{
View()
{
this.Event += presenter.EventHandler;
}
}
or:
class Presenter
{
Presenter()
{
view.Event += this.EventHandler;
}
}
Or maybe it's pretty much the same thing? If not, what are the pros and cons of each?