示例#1
0
        public BaseController(IElipseshopData data)
        {
            this.Data = data;

            this.SiteMapProvider = new SqlSiteMapProvider();

            //string defaultSiteMapProvider = System.Configuration.ConfigurationManager.AppSettings["defaultSiteMapProvider"];
            //string siteMapCacheTime = System.Configuration.ConfigurationManager.AppSettings["siteMapCacheTime"];

            //System.Collections.Specialized.NameValueCollection attributes = new System.Collections.Specialized.NameValueCollection();
            //attributes.Add("cacheTime", siteMapCacheTime);

            //this.SiteMapProvider.Initialize(defaultSiteMapProvider, attributes);
        }
 public StaticPagesController(IElipseshopData data)
     : base(data)
 {
 }
示例#3
0
 public ProductController(IElipseshopData data)
     : base(data)
 {
 }
示例#4
0
 public CategoryController(IElipseshopData data)
     : base(data)
 {
 }
 public ShoppingBagController(IElipseshopData data)
     : base(data)
 {
 }