public SiteMapFactoryContainer(
     ConfigurationSettings settings,
     IMvcContextFactory mvcContextFactory,
     IUrlPath urlPath)
 {
     this.settings = settings;
     this.mvcContextFactory = mvcContextFactory;
     this.requestCache = this.mvcContextFactory.GetRequestCache();
     this.urlPath = urlPath;
     this.urlKeyFactory = new UrlKeyFactory(this.urlPath);
 }
        public SiteMapChildStateFactory(
            IGenericDictionaryFactory genericDictionaryFactory,
            ISiteMapNodeCollectionFactory siteMapNodeCollectionFactory,
            IUrlKeyFactory urlKeyFactory
            )
        {
            if (genericDictionaryFactory == null)
                throw new ArgumentNullException("genericDictionaryFactory");
            if (siteMapNodeCollectionFactory == null)
                throw new ArgumentNullException("siteMapNodeCollectionFactory");
            if (urlKeyFactory == null)
                throw new ArgumentNullException("urlKeyFactory");

            this.genericDictionaryFactory = genericDictionaryFactory;
            this.siteMapNodeCollectionFactory = siteMapNodeCollectionFactory;
            this.urlKeyFactory = urlKeyFactory;
        }
        public SiteMapChildStateFactory(
            IGenericDictionaryFactory genericDictionaryFactory,
            ISiteMapNodeCollectionFactory siteMapNodeCollectionFactory,
            IUrlKeyFactory urlKeyFactory
            )
        {
            if (genericDictionaryFactory == null)
            {
                throw new ArgumentNullException("genericDictionaryFactory");
            }
            if (siteMapNodeCollectionFactory == null)
            {
                throw new ArgumentNullException("siteMapNodeCollectionFactory");
            }
            if (urlKeyFactory == null)
            {
                throw new ArgumentNullException("urlKeyFactory");
            }

            this.genericDictionaryFactory     = genericDictionaryFactory;
            this.siteMapNodeCollectionFactory = siteMapNodeCollectionFactory;
            this.urlKeyFactory = urlKeyFactory;
        }