asp.net-mvc – MVC3,Ninject,MvcSiteMapProvider – 如何将依赖注入到重写方法
我有一个使用 Ninject和 MvcSiteMapProvider的MVC3应用程序. 我创建了这个类,MvcSiteMapProvider使用它来动态地将节点添加到我的站点地图: public class PageNodeProvider : DynamicNodeProviderBase
{
public override IEnumerable<DynamicNode> GetDy