-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Naming Convention only works in single project (views in same project as viewmodels) #27
Comments
For some projects this would be a fantastic idea, for other projects it would be a waste of CPU cycles. That's why the default implementation often fit when you need it the most, i.e. when you are new to WPF and copy/paste the project structure from sample applications. Is the default implementation covering all project structures? Certainly not! But the idea is that when you've grown into setting your own structure, you also know enough to write your own locator. And if you don't have any clue where to start there is even a tutorial in the wiki. I know this probably isn't the answer you are hoping for, but the default implementation is probably good enough, and replacing or bundling more than one implementation will probably confuse more than it helps. But never the less, thank you for your input, it helps me understand the developers using the framework. |
Hey savaged, MyApplication And what about using datatemplates to find the view for a particular ViewModel... We're using that in our apps:
|
Well the indentation didn't come out exactly, but I think you'll get the idea... :-) |
Impressive ASCII ;) |
What do you think about creating a MvvmDialogs.Contrib repository that would contain functionality not fitting the main repository, but still hold value for some developers? |
Much better than my fork ;) |
@savaged I've created a repo here and you've been invited as a collaborator. I'll make sure you have the correct permissions to the repository. I've also setup AppVeyor to push NuGet packages on git tags, i.e. if you create a GitHub release, AppVeyor will build the code and publish the package to nuget.org. Treat the repository as your own, I am not sure how much time I will be able to invest in it. |
Thanks, I think ;) Please can you add |
lol, yea, you just got hired, eventually it will dawn on you :-D I'll publish a new version either today or tomorrow the latest |
A new version has been published |
I'm closing this issue. I have no idea of the progress, but any further conversation can take place on MvvmDialogs.Contrib. |
Rather than having to create my own custom Dialog Locator, it would be good to have the
NamingConventionDialogTypeLocator
find a separate views project in referenced assemblies.Suggested additions to NamingConventionDialogTypeLocator.cs:
Locate
belowstring dialogName = GetDialogName(viewModelType);
Add...
The text was updated successfully, but these errors were encountered: