I'm playing around with TemplateModels and TemplateTypeCategories.MvcPartialView and I have noticed that before selecting the view set on my TemplateModel.Path, MvcContentRenderer tries to determine my view by first looking for a TemplateModel.Name and the current Tag and secondly by only TemplateModel.Name
MvcContentRenderer first also checks whether the TemplateModel.Name is null or empty, but by default the TemplateModel gets the same name as the ModelType so I can't override this behavior by not declaring a TemplateModel.Name.
If I have set this myself in TemplateModel.Path I expect this to be the primary path.
I'm playing around with TemplateModels and TemplateTypeCategories.MvcPartialView and I have noticed that before selecting the view set on my TemplateModel.Path, MvcContentRenderer tries to determine my view by first looking for a TemplateModel.Name and the current Tag and secondly by only TemplateModel.Name
MvcContentRenderer first also checks whether the TemplateModel.Name is null or empty, but by default the TemplateModel gets the same name as the ModelType so I can't override this behavior by not declaring a TemplateModel.Name.
If I have set this myself in TemplateModel.Path I expect this to be the primary path.