Using Unity in Prism, I would like to send a parameter to the object's constructor like this:
PSEUDO-CODE:
SmartFormPresenter smartFormPresenter1 =
this.container.Resolve<SmartFormPresenter(customer)>();
But instead I have to instatiate it and then assign a property:
SmartFormPresenter smartFormPresenter1 =
this.container.Resolve<SmartFormPresenter>();
smartFormPresenter1.ObjectBeingEdited = customer;
Is there any way to send a parameter to the constructor directly?