示例#1
0
        private IOnlineUserMgr CreateOnlineMgr()
        {
            var onlineMgr = new OnlineUserMgr(this.mockAuthService.Mock_TokenRepository(),
                                              this.mockAuthService.Mock_ReadAuthRepository(), this.mockAuthService.Mock_RoleAndResDepend());

            return(onlineMgr);
        }
        private IOnlineUserMgr CreateOnlineMgr()
        {
            var cxt       = this.BuildFreesql();
            var onlineMgr = new OnlineUserMgr(cxt.TokenRepository,
                                              this.mockAuthService.Mock_ReadAuthRepository(), this.mockAuthService.Mock_RoleAndResDepend());

            return(onlineMgr);
        }