猫我在@helper 函数上创建了一个委托?
@helper DisplayCategoryTree(int? parentId)
{
Func<Category, CategoryNode, MvcHtmlString> act = new Func<Category, CategoryNode, MvcHtmlString>(GetChildItem);
act(Category, CategoryNode);
}
@helper GetChildItem(Category, CategoryNode)
{
}