Exemple #1
0
 public SiteManager(ISiteDao iSiteDao)
 {
     _iSiteDao = iSiteDao;
 }
 public SiteBLL()
 {
     //注册依赖对象
     container.RegisterType <ISiteDao, SiteDao>();
     ISite = container.Resolve <SiteDao>();
 }
 public SecurityService(ISiteDao siteDao)
 {
     _siteDao = siteDao;
 }
Exemple #4
0
 public SiteService(ISiteDao siteDao, IUserDao userDao)
 {
     _siteDao = siteDao;
     _userDao = userDao;
 }