|
When using NamingConventions with IView/IViewModelLocator, is there a maximum depth.
Example:
Assembly namespace: Application.Client
So full namespace of a view: Application.Client.Views.Houses.Singlehouse.House
I've noticed adding NamingConventions up to 2 levels in depth work, further on, it doesn't (first one works, second does not).
viewModelLocator.NamingConventions.Add("[UP].[UP].Views.Houses.[VW]ViewModel")
viewModelLocator.NamingConventions.Add("[UP].[UP].Views.Houses.SingleHouse.[VW]ViewModel")
When trying to navigate to a view in the second namespace, I get an error saying the viewmodel and the view are not registered. Problem is, I have been debugging the source code and in fact they are registered.
Is it possible that there's a limit on depth?
|