public SiteMapFactory( ISiteMapPluginProviderFactory pluginProviderFactory, IMvcResolverFactory mvcResolverFactory, IMvcContextFactory mvcContextFactory, ISiteMapChildStateFactory siteMapChildStateFactory, IUrlPath urlPath, IControllerTypeResolverFactory controllerTypeResolverFactory, IActionMethodParameterResolverFactory actionMethodParameterResolverFactory ) { if (pluginProviderFactory == null) throw new ArgumentNullException("pluginProviderFactory"); if (mvcResolverFactory == null) throw new ArgumentNullException("mvcResolverFactory"); if (mvcContextFactory == null) throw new ArgumentNullException("mvcContextFactory"); if (siteMapChildStateFactory == null) throw new ArgumentNullException("siteMapChildStateFactory"); if (urlPath == null) throw new ArgumentNullException("urlPath"); if (controllerTypeResolverFactory == null) throw new ArgumentNullException("controllerTypeResolverFactory"); if (actionMethodParameterResolverFactory == null) throw new ArgumentNullException("actionMethodParameterResolverFactory"); this.pluginProviderFactory = pluginProviderFactory; this.mvcResolverFactory = mvcResolverFactory; this.mvcContextFactory = mvcContextFactory; this.siteMapChildStateFactory = siteMapChildStateFactory; this.urlPath = urlPath; this.controllerTypeResolverFactory = controllerTypeResolverFactory; this.actionMethodParameterResolverFactory = actionMethodParameterResolverFactory; }
public SiteMapFactory( ISiteMapPluginProviderFactory pluginProviderFactory, IMvcResolverFactory mvcResolverFactory, IMvcContextFactory mvcContextFactory, ISiteMapChildStateFactory siteMapChildStateFactory, IUrlPath urlPath, IControllerTypeResolverFactory controllerTypeResolverFactory, IActionMethodParameterResolverFactory actionMethodParameterResolverFactory ) { if (pluginProviderFactory == null) { throw new ArgumentNullException("pluginProviderFactory"); } if (mvcResolverFactory == null) { throw new ArgumentNullException("mvcResolverFactory"); } if (mvcContextFactory == null) { throw new ArgumentNullException("mvcContextFactory"); } if (siteMapChildStateFactory == null) { throw new ArgumentNullException("siteMapChildStateFactory"); } if (urlPath == null) { throw new ArgumentNullException("urlPath"); } if (controllerTypeResolverFactory == null) { throw new ArgumentNullException("controllerTypeResolverFactory"); } if (actionMethodParameterResolverFactory == null) { throw new ArgumentNullException("actionMethodParameterResolverFactory"); } this.pluginProviderFactory = pluginProviderFactory; this.mvcResolverFactory = mvcResolverFactory; this.mvcContextFactory = mvcContextFactory; this.siteMapChildStateFactory = siteMapChildStateFactory; this.urlPath = urlPath; this.controllerTypeResolverFactory = controllerTypeResolverFactory; this.actionMethodParameterResolverFactory = actionMethodParameterResolverFactory; }