我有这个:
Views/MyView/_partials
... partial1.cshtml
... partial2.cshtml
... partial3.cshtml
我正在像这样加载它们:
<div>
@Html.Partial("_partials/partial1.cshtml")
@Html.Partial("_partials/partial2.cshtml")
@Html.Partial("_partials/partial3.cshtml")
</div>
有没有办法加载该目录中的所有文件?