Custom ViewModel naming - ConfigureViewModelLocator private in PrismAppBuilder #3002
Answered
by
jameslavery
jameslavery
asked this question in
.NET MAUI
-
I need to have a custom configuration for my ViewModel location. In Forms we'd do it by overriding ConfigureViewModelLocator in app.xaml.cs, but with MAUI and Prism, I can't find a matching override. Looking at the source, ConfigureViewModelLocator is private in PrismAppBuilder. Am I missing something, or is this not (yet) possible? |
Beta Was this translation helpful? Give feedback.
Answered by
jameslavery
Nov 15, 2023
Replies: 1 comment 3 replies
-
Can you expand on the question. Are you trying to configure the Type to Type mapping or resolving the ViewModel from once given the ViewModel type? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Dan - neat, hadn't thought of that, thank you.