Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

MVVM: Where to Place Methods used by Most ViewModels?

$
0
0

I have a few ViewModels which run a process from a simple string parameter. I want them to all use the same method to do it so as to not repeat code.

I was thinking about putting this method in ViewModelBase, however wouldn't that replicate the code anyway?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>