public CardService(ICardRepository cardRepository, IValidator validator, IProjectService projectService, ISession session) { _cardRepository = cardRepository; _validator = validator; _projectService = projectService; _session = session; }
public CateApiController(ICardRepository cardRepo, ICateRepository cateRepo, ILoggingRepository log) : base(log) { _cateRepo = cateRepo; _cardRepo = cardRepo; includeProperties = Expressions.LoadCateNavigations(); }
public override void When() { this.respository = this.RepositoryFactory.CreateRepository<CardRepository, ICardRepository>( this.TableStorageContext.Object, CardRowTypes.CARD, TestValues.NAME_IDENTIFIER); }
public BoardsController( ITrelloConfiguration trelloConfiguration, ICardRepository cardRepository) { _trelloConfiguration = trelloConfiguration; _cardRepository = cardRepository; }
public SpecialNoteService(ISpecialNoteRepository specialNoteRepository, ICardRepository cardRepository, IActivityHelperService activityHelperService, IUserProfileRepository userProfileRepository) { _specialNoteRepository = specialNoteRepository; _cardRepository = cardRepository; _activityHelperService = activityHelperService; _userProfileRepository = userProfileRepository; }
static CardRepositoryLocator() { string dataSource = Configuration.GetDataSource(DataSources.CardsDataSourceName, Properties.Settings.Default.CardsDataSource); if (!_setRepo.ContainsKey(dataSource)) throw new InvalidDataSourceException(); _setRepo[dataSource].Invoke(); _repo = RepositoryFactory.Make<ICardRepository>(); }
public BSEWalletManager(IZipCodeRepository zipCodeRepository, IStateRepository stateRepository, ICardRepository cardRepository, ICustomerRepository customerRepository, ITransactionRepository transactionRepository, ILoginRepository login) { _ZipCodeRepository = zipCodeRepository; _StateRepository = stateRepository; _CardRepository = cardRepository; _CustomerRepository = customerRepository; _TransactionRepository = transactionRepository; _Login = login; }
public FeedbackService(IFeedbackRepository feedbackRepository, ICardRepository cardRepository, ILogger logger, IUserProfileRepository userProfileRepository, IActivityHelperService activityHelperService) { _feedbackRepository = feedbackRepository; _cardRepository = cardRepository; _logger = logger; _userProfileRepository = userProfileRepository; _activityHelperService = activityHelperService; }
public CandidateService(ICandidateRepository candidateRepository, ICardRepository cardRepository, IPoolRepository poolRepository, ILogger logger, IUserProfileRepository userProfileRepository, IActivityHelperService activityHelperService) { _candidateRepository = candidateRepository; _cardRepository = cardRepository; _logger = logger; _userProfileRepository = userProfileRepository; _poolRepository = poolRepository; _activityHelperService = activityHelperService; }
public CustomerController(ICustomerRepository customerRepository ,IResourceService resourceService ,IResourceRepository resourceRepository ,ICardRepository cardRepo) { _customerRepository = customerRepository; _resourceService = resourceService; _resourceRepository = resourceRepository; _cardRepo = cardRepo; }
public StorePromotionController(ICardRepository cardRepo, IGroupCardService groupData, IStoreCouponsRepository storecouponRepo, IStorePromotionRepository storeproRepo) { _cardRepo = cardRepo; _groupData = groupData; _storecouponRepo = storecouponRepo; _storeproRepo = storeproRepo; }
public TestService(ITestRepository testRepository, ICardRepository cardRepository, IFeedbackRepository feedbackRepository, IUnitOfWork unitOfWork,ILogger logger, IUserProfileRepository userProfileRepository) { _testRepository = testRepository; _cardRepository = cardRepository; _unitOfWork = unitOfWork; _logger = logger; _feedbackRepository = feedbackRepository; _userProfileRepository = userProfileRepository; }
public CardService(ICardRepository cardRepository, IUserProfileRepository userProfileRepository, IUnitOfWork unitOfWork, ILogger logger, IActivityHelperService activityHelperService, ISpecialNoteRepository specialNoteRepository, IFeedbackRepository feedbackRepository, IInterviewRepository interviewRepository, ITestRepository testRepository) { _cardRepository = cardRepository; _userProfileRepository = userProfileRepository; _unitOfWork = unitOfWork; _logger = logger; _activityHelperService = activityHelperService; _specialNoteRepository = specialNoteRepository; _feedbackRepository = feedbackRepository; _interviewRepository = interviewRepository; _testRepository = testRepository; }
public FileService(IFileRepository fileRepository, ILogger logger, ICandidateService candidateService, IResumeRepository resumeRepository, IActivityHelperService activityHelperService, ICardRepository cardRepository, ICandidateRepository candidateRepository) { _fileRepository = fileRepository; _logger = logger; _candidateService = candidateService; _resumeRepository = resumeRepository; _candidateRepository = candidateRepository; _activityHelperService = activityHelperService; _cardRepository = cardRepository; }
public CandidateServiceTest() { _cardRepository= Substitute.For<ICardRepository>(); _candidateRepository = Substitute.For<ICandidateRepository>(); _poolRepository = Substitute.For<IPoolRepository>(); _userProfileRepository = Substitute.For<IUserProfileRepository>(); var logger = Substitute.For<ILogger>(); var activityHelperService = Substitute.For<IActivityHelperService>(); _candidateService = new CandidateService(_candidateRepository, _cardRepository, _poolRepository, logger, _userProfileRepository, activityHelperService); }
public VacancyServiceTests() { _vacancyRepository = Substitute.For<IVacancyRepository>(); _candidateRepository = Substitute.For<ICandidateRepository>(); _cardRepository = Substitute.For<ICardRepository>(); _poolRepository = Substitute.For<IPoolRepository>(); var unitOfWork = Substitute.For<IUnitOfWork>(); var logger = Substitute.For<ILogger>(); var activityHelperService = Substitute.For<IActivityHelperService>(); var userProfieRepository = Substitute.For<IUserProfileRepository>(); _vacancyService = new VacancyService(_vacancyRepository, _candidateRepository,_cardRepository, logger, unitOfWork, activityHelperService, userProfieRepository, _poolRepository); }
public StorePromotionCouponController(ICardRepository cardRepo, IGroupCardService groupData, IStoreCouponsRepository storecouponRepo, IStorePromotionRepository storeproRepo, IPointRepository pointRepo, IStorePromotionScopeRepository storeproscopeRepo, ICouponLogRepository couponlogRepo) { _cardRepo = cardRepo; _groupData = groupData; _storecouponRepo = storecouponRepo; _storeproRepo = storeproRepo; _pointRepo = pointRepo; _storeproscopeRepo = storeproscopeRepo; _couponlogRepo = couponlogRepo; }
public CardApiController( ICateRepository cateRepo, ICardRepository cardRepo, UserManager<ApplicationUser> userManager, ILoggingRepository logRepo, GraduationDbContext context, SignInManager<ApplicationUser> signInManager) : base(logRepo) { _userManager = userManager; _signInManager = signInManager; _context = context; includeProperties = Expressions.LoadCardNavigations(); _cardRepo = cardRepo; _cateRepo = cateRepo; itemsPerPage = 3; pageInit = 6; }
public VacancyService( IVacancyRepository vacancyRepository, ICandidateRepository candidateRepository, ICardRepository cardRepository, ILogger logger, IUnitOfWork unitOfWork, IActivityHelperService activityHelperService, IUserProfileRepository userProfileRepository, IPoolRepository poolRepository) { _vacancyRepository = vacancyRepository; _candidateRepository = candidateRepository; _cardRepository = cardRepository; _logger = logger; _unitOfWork = unitOfWork; _activityHelperService = activityHelperService; _userProfileRepository = userProfileRepository; _poolRepository = poolRepository; }
public AuthController(ICardRepository repository) { _repository = repository; }
public CardService(ICardRepository cardRepository) : base(cardRepository) { _cardRepository = cardRepository; }
public EmployeeController(ICardRepository repo) { context = repo; }
public void SetUp() { _cardTypeStrategies = Substitute.For <IEnumerable <ICardTypeStrategy> >(); _cardRepository = Substitute.For <ICardRepository>(); _sut = new CardService(_cardTypeStrategies, _cardRepository); }
public void SetUp() { this._repository = new CardRepository(); this._initializer = new SimpleCardsRepositoryInitialzier(); this._initializer.Init((IEditableRepository<ICard>)this._repository); }
public Advanced(ICardRepository cardRepository, string username) : base(cardRepository, username, DEF_ADVANCED_HEALTH) { }
public CardService(ICardRepository cardRepository) { _cardRepo = cardRepository; }
protected Player(ICardRepository cardRepository, string username, int health) { this.CardRepository = cardRepository; this.Username = username; this.Health = health; }
public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, username, INITIAL_BEGINNER_HEALTH) { }
public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, username, initialHealthPoints) { }
public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, username, 50) { }
public CardController(ICardRepository CardRepository, IMenhGiaRepository menhgiaRepository) { _CardRepository = CardRepository; _menhgiaRepository = menhgiaRepository; }
public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, username, BeginnerInitialHealth) { }
public CardBll(ICardRepository repostory) { _repostory = repostory; }
/// <summary> /// 会员充值 /// </summary> /// <returns></returns> public async Task <IActionResult> Recharge([FromQuery] string card_id, [FromQuery] string encrypt_code, [FromQuery] string openid, [FromServices] ICardRepository service) { var member = await service.GetMemberAsync(card_id, openid); if (member == null) { return(Content("会员不存在")); } var card = await service.GetCardAsync(card_id); ViewBag.color = WxHelper.WxColors[card.Color]; ViewBag.card_id = card_id; ViewBag.encrypt_code = encrypt_code; ViewBag.openid = openid; return(View(member)); }
public MaledictionCommandHandler(IGemRepository gemRepository, ICardRepository cardRepository) { _gemRepository = gemRepository; _cardRepository = cardRepository; }
public CardBusiness() { _repo = new CardRepository(); }
public CompanyController(ICardRepository repo) { context = repo; }
public CardAppService(ICardRepository repository) : base(repository) { _repository = repository; }
public ATMController(ICardRepository repository, ITerminalSessionManager sessionManager, ATMService atmService) { _repository = repository; _sessionManager = sessionManager; _atmService = atmService; }
public CardController(UserManager <ApplicationUser> userManager, ICardRepository cardRepository) { _userManager = userManager; _cardRepository = cardRepository; }
public CardManager(ICardRepository cardRepository) { _cardRepository = cardRepository; }
public ManagerController() { this.cardRepository = new CardRepository(); this.playerRepository = new PlayerRepository(); this.battleField = new BattleField(); }
public Advanced(ICardRepository cardRepository, string username) : base(cardRepository, username, InitialHealthPoints) { }
public CreateController(ICardRepository repo) { context = repo; }
public EBankingController(IEBankingRepository eBankingRepo, IHttpContextAccessor httpContextAccessor, ICardRepository cardRequestRepo, IAccountController accountController) { _eBankingRepo = eBankingRepo; _httpContextAccessor = httpContextAccessor; _cardRequestRepo = cardRequestRepo; //var result = new AccountController().CheckSessionState(); _accountController = accountController.CheckSessionState(); }
public GetCardByNumberHandler(ICardRepository cardRepository) { _cardRepository = cardRepository ?? throw new ArgumentNullException(nameof(cardRepository)); }
public DayController(IDayRepository dayRepository, ICardRepository cardRepository) { this.repositoryDay = dayRepository; this.repositoryCard = cardRepository; }
public CardDataService(IGroupCardService groupCardService, ICardRepository cardRepository, IUserService userService) { _groupCardService = groupCardService; _cardRepository = cardRepository; _userService = userService; }
public CartController(ICardRepository cardRepo, Cart cart) { _cardRepo = cardRepo; _cart = cart; }
public CustomerController() { customerRepository = new CustomerRepository(); cardRepository = new CardRepository(); }
public BSEWalletManager(ICardRepository cardRepository) : this(null, null,cardRepository,null,null,null) { }
public Beginner(ICardRepository cardRepository, string username) : base(cardRepository, username, DefaultHealthPoints) { }
public CardsQueryHandlers(ICardRepository projectRepository, IMapper mapper, IMediator mediator) : base(mediator, mapper) { _projectRepository = projectRepository; }
public CardManager(ICardRepository cardRepository, ICardTransactionRepository cardTransactionRepository, IAuthenticationManager authenticationManager) { this.cardRepository = cardRepository; this.cardTransactionRepository = cardTransactionRepository; this.authenticationManager = authenticationManager; }
public BoardController(IFixieApiService fixieApiService, ICardRepository cardRepository) { _fixieApiService = fixieApiService; _cardRepository = cardRepository; }
public HomeController(ICategoryRepository categoryRepo, ICardRepository cardRepo) { _cardRepository = cardRepo; _categoryRepository = categoryRepo; }