public LoginMgeSvr() : base() { daoManager = ServiceConfig.GetInstance().DaoManager; _UserInfoDao = (IUserInfoDao)daoManager.GetDao(typeof(IUserInfoDao)); cacheManager = (ICacheManager)ServiceManager.GetService(typeof(ICacheManager)); _CacheMgeSvr = cacheManager.GetCache("LoginResult"); }
private static UserInfoProvider CreateUserInfoProvider(IUserInfoDao fakeUserInfoDao) { return(new UserInfoProvider(fakeUserInfoDao, A.Fake <ILogger>())); }
public UserInfoService(IUserInfoDao dao) { this.Instance = dao; }
public UserInfoBLL() { _iUserInfoDao = new UserInfoDao(); _iRoleInfoDao = new RoleInfoDao(); }
public UserController(IUserInfoDao userInfoDao) { this._userInfoDao = userInfoDao; }
public AuthService(IUserInfoDao userInfoDao) { this.userInfoDao = userInfoDao; }
// 初始化dao public HomeController(IUserDao userDao, IUserInfoDao userinfoDao) { UserDao = userDao; UserInfoDao = userinfoDao; }
public UserInfoProvider(IUserInfoDao userInfoDao, ILogger logger) { this.userInfoDao = userInfoDao; this.logger = logger; }