Skip to main content
added 61 characters in body
Source Link
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683

If you need the loosest coupling possible, simply add a class between the ViewModelModel and the Service that subscribes to the events on the ViewModelModel, takes a reference to the Service, and performs the necessary business operations on the Service based on the Model events fired.

If you need the loosest coupling possible, simply add a class between the ViewModel and the Service that subscribes to the events on the ViewModel and performs the necessary business operations on the Service.

If you need the loosest coupling possible, simply add a class between the Model and the Service that subscribes to the events on the Model, takes a reference to the Service, and performs the necessary business operations on the Service based on the Model events fired.

Source Link
Robert Harvey
  • 200.7k
  • 55
  • 470
  • 683

If you need the loosest coupling possible, simply add a class between the ViewModel and the Service that subscribes to the events on the ViewModel and performs the necessary business operations on the Service.