public void beforeEach() { ctxHelper = new CtxHelper(); ctx = ctxHelper.sharedCtx; userDao = new UserDAO(ctxHelper.sharedCtx); ctxHelper.seed(getDefaultSeed()).Wait(); }
public CtfUserBL(ITransactionDAO transactionDAO, IWebHostEnvironment webHostEnvironment, IUserDAO userDAO, IHttpContextAccessor httpContextAccessor, IOptions <CtfOptions> ctfOptions) : base(transactionDAO, userDAO, webHostEnvironment) { _userDAO = userDAO; _httpContextAccessor = httpContextAccessor; _ctfOptions = ctfOptions.Value; }
public GitFitController(IUserDAO userDao) { this.userDao = userDao; }
public AccountController(IAccountDAO accountDAO, IUserDAO userDAO) { AccountDAO = accountDAO; UserDAO = userDAO; }
public TEGramController(IUserDAO userDao) { this.userDao = userDao; }
public ServiceController(IServiceDAO serviceDAO, IUserDAO userDAO) { _serviceDAO = serviceDAO; _userDAO = userDAO; }
/// <summary> /// Creates a new account controller. /// </summary> /// <param name="tokenGenerator">A token generator used when creating auth tokens.</param> /// <param name="passwordHasher">A password hasher used when hashing passwords.</param> /// <param name="userDao">A data access object to store user data.</param> public AccountController(ITokenGenerator tokenGenerator, IPasswordHasher passwordHasher, IUserDAO userDao) { this.tokenGenerator = tokenGenerator; this.passwordHasher = passwordHasher; this.userDao = userDao; }
public UserBO(IUserDAO userDao, ICountryDAO countryDao, IMappingEngine mapper) { userDAO = userDao; countryDAO = countryDao; Mapper = mapper; }
public SessionAuthProvider(IHttpContextAccessor contextAccessor, IUserDAO userDAO) { this.contextAccessor = contextAccessor; this.userDAO = userDAO; }
public UserService(IUserDAO userDAO) { UserDAO = userDAO; }
public UserService(IUserDAO dao, IMapper mapper) : base(dao, mapper) { _userDao = dao; }
public AwardManager(IAwardDAO awardDAO, IUserDAO userDAO) { _awardDAO = awardDAO; _userDAO = userDAO; }
public UserController(IUserDAO userDAO) { this.userDAO = userDAO; }
public UserLogic() { IKernel ninjectKernel = new StandardKernel(new NinjectRegistrations()); userDAO = ninjectKernel.Get <IUserDAO>(); }
public IUserDAO createUserDAO() { lock(lockObj) { if(userDAO == null) { if (databaseName == DATABASE_MSSQL) userDAO = new UserMSSqlDAO(); if (userDAO == null) throw new Exception("Unsupported database : " + databaseName); } return userDAO; } }
public UserManager(IContextContainer container) : base(container) { _userDAO = new UserDAO(container); }
public UserService(IUserDAO repository) { _repository = repository; }
public AccountController(IUserDAO userDAO, IAccountDAO accountDAO) { this.userDAO = userDAO; this.accountDAO = accountDAO; }
public void SetUp() { mockdb = new Mock <IDatabase>(); db = mockdb.Object; userdao = new UserDAO(db); }
public UserLogic(IUserDAO data, IHash hashPassword, ILoggerIO log) { userHash = hashPassword; userData = data; logger = log; }
/// <summary> /// A controller for likes /// </summary> /// <param name="likeDAO"></param> public LikeController(ILikeDAO likeDAO, IUserDAO userDAO) { this.likeDAO = likeDAO; this.userDAO = userDAO; }
public UserLogic(IUserDAO userDao) { _userDao = userDao; }
public TransferController(ITransferDAO transferDAO, IAccountDAO accountDAO, IUserDAO userDAO) { this.transferDAO = transferDAO; this.accountDAO = accountDAO; this.userDAO = userDAO; }
public UserService(IUserDAO userDAO) { this.userDAO = userDAO; }
public LoginController(ITokenGenerator _tokenGenerator, IPasswordHasher _passwordHasher, IUserDAO _userDAO) { tokenGenerator = _tokenGenerator; passwordHasher = _passwordHasher; userDAO = _userDAO; }
public TrackingController(IUserDAO userDao, IProfileDAO profileDao, IFoodDAO foodDao) : base(userDao) { this.profileDao = profileDao; this.foodDao = foodDao; }
public UserService(IUserDAO userDAO, IAwardDAO awardDAO, IUserAwardDAO userAwardDAO) { _userDAO = userDAO; _awardDAO = awardDAO; _userAwardDAO = userAwardDAO; }
public AdminBL(ITransactionDAO transactionDao, IUserDAO userDAO) { _transactionDao = transactionDao; _userDAO = userDAO; }
public UserController(IUserDAO dao) { userDao = dao; }
public UserBO(IUserDAO dao) { this.dao = dao; }
public ListenerCustomerDAOImpl(IUserDAO _userDAO, ITerminalAdministratorDAO _terminalAdministratorDAO) { this.terminalAdministratorDAO = _terminalAdministratorDAO; this.userDAO = _userDAO; }
public UserComponent(IUserDAO userDao) { this.userDao = userDao; }
public UserBL() { usersDAO = new UserDAO(); }
public UserServiceImpl(IUserDAO UserDAO) { this.UserDAO = UserDAO; }
public TransferController(IAccountDAO _accountDAO, IUserDAO _userDAO, ITransferDAO _transferDAO) { accountDAO = _accountDAO; userDAO = _userDAO; transferDAO = _transferDAO; }
public UserLogic(IUserDAO userDAO) { _usersDAO = userDAO; }
public UserService(IUserDAO userDao) { _userDao = userDao; }