mvvm-light: Should we merge Cleanup methods in locator?
- by mark smith
Hi there,
when creating a new ViewModel within the locator class using the snippet it creates a Cleanup Method but there is already one available from the Main so hence an error....
Should we merge them all??
Or should we be renaming the method to Cleanup[Name of viewmodel] for example.
I am a little confused here
Another question i would like to ask is regards to the naming conventions.
I tried to follow the naming convention used with "MAIN"...
hence i have CreateLogin, ClearLogin, Login (non static property for binding) etc etc..
Would it not be better to use CreateLoginViewModel, ClearLoginViewModel etc??
Just curious
Thanks