You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from MVVM Light, I could use Register() method at any time during the life of my application. This allowed me to register new behaviors/override existing registrations in referenced projects. For example, I could register a default/dummy implementation of IDialogService in the VM layer (static constructor of ViewModelLocator) and then override this registration in the View layer with an actual discrete implementation.
This no longer seems possible with the CommunityToolkit. There is a single ConfigureServices that I must call upon startup, in the VM layer. What do I do in the View layer to re-register/override an existing registration?
The text was updated successfully, but these errors were encountered:
Coming from MVVM Light, I could use
Register()
method at any time during the life of my application. This allowed me to register new behaviors/override existing registrations in referenced projects. For example, I could register a default/dummy implementation ofIDialogService
in the VM layer (static constructor ofViewModelLocator
) and then override this registration in the View layer with an actual discrete implementation.This no longer seems possible with the CommunityToolkit. There is a single
ConfigureServices
that I must call upon startup, in the VM layer. What do I do in the View layer to re-register/override an existing registration?The text was updated successfully, but these errors were encountered: