示例#1
0
 public TokenModelBinder(ITokenVerify tokenService, IUserService accountService)
 {
     _tokenService = tokenService;
     _userService  = accountService;
 }
示例#2
0
 public LoginController(ITokenVerify tokenService,
                        IUserService userService)
 {
     _tokenService = tokenService;
     _userService  = userService;
 }
示例#3
0
 /// <summary>
 /// IOC注入
 /// </summary>
 /// <param name="tokenService"></param>
 /// <param name="accountService"></param>
 public AccountController(ITokenVerify tokenService, IAccountService accountService)
 {
     _tokenService   = tokenService;
     _accountService = accountService;
 }
 public TokenModelBinderProvider(ITokenVerify tokenService, IAccountService accountService)
 {
     _tokenService   = tokenService;
     _accountService = accountService;
 }