c# - Caliburn.Micro view resolution for ViewModel<T> -


i have come across problem cm, in cannot resolve view when matching viewmodel contains generic type parameters.

for example, convention fooviewmodel resolves display fooview; experiments, fooviewmodel<t> not.

is supported scenario , i'm missing obvious? if not, know if there way coax cm using existing conventions or have add or override default convention somehow?

for might see in future, seems had been awake far, far long when tackling problem last night.

looking again @ (after bit of kip , coffee) can confirm when cm encounters generic viewmodel class such fooviewmodel<t>, resolve display fooview.

the reason why couldn't cm resolve due fooviewmodel<t> class being located in wrong namespace!! changed namespace 'viewmodels' per convention , viola! works.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -