Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您如何在项目中使用MVVM模式命名类(模型、视图、视图模型)?
对于视图,我将“视图”附加到模型,如“PersonView”。
同样对于视图模型,我附加“Vm”以获得“PersonVm”。
当然,模型名称与域有关,与 MVVM 无关。
干杯, 贝里尔