Is it possible to pass a parameter to the ViewModel constructor? I would then use this parameter to initialise a property and/or do other operations in the ViewModel.
With WinForms I could do
public MyForm(MyParamType myParam) { MyFormProperty = myParam; //etc. }
How do I go about doing something similar in the MVVM pattern / using MVVM Light?
Any suggestions would be most welcome. Thanks in advance.