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 ) { if (genericDictionaryFactory == null) { throw new ArgumentNullException("genericDictionaryFactory"); } if (siteMapNodeCollectionFactory == null) { throw new ArgumentNullException("siteMapNodeCollectionFactory"); } this.genericDictionaryFactory = genericDictionaryFactory; this.siteMapNodeCollectionFactory = siteMapNodeCollectionFactory; }