when creating a new ViewModel model in the locator class using a fragment that creates a cleaning method, but there is already one available from Main, therefore, an error ....
Should we combine them all?
Or we should rename this method to "Name" of viewmodel, for example.
I'm a little confused here
Another question I would like to ask relates to naming conventions.
I tried to execute the naming convention used with "MAIN" ...
hence, I have CreateLogin, ClearLogin, Login (not a static property for binding), etc. etc.
It would not be better to use CreateLoginViewModel, ClearLoginViewModel, etc.
Just curious
thank
( ViewModelLocator ) , V4.
, , , . , ViewModelLocator.Cleanup() (, , ..). , . , , .
, CreateMain, ClearMain .. . , , , , ViewModelLocator (V4).
, . "ViewModel", . , , , V4. ;) ( , , )
Cheers, Laurent
Source: https://habr.com/ru/post/1748224/More articles:iPhone: keep text looking good after zooming in? - text304 latency versus embedded javascript - performanceGetting selected items from WinForm ListBox? - c #How much time do PHP / Python / Ruby * programmers spend on CSS? - cssDUMP in unhandled C ++ exception - c ++'ORA-01031: insufficient privilege error received while inserting into view - oracledetermine the size of the repo? - svnWhy does setting a property allow the property to crash the application? - c #Rails: создание подкаталогов в модели? - ruby-on-rails.NET An Effective Way to Create a WORD Doc - Server Side - .netAll Articles