コード例 #1
0
 public OrdersController(IShoeRepository repository,
                         ILogger <OrdersController> Logger,
                         IMapper mapper)
 {
     _repository = repository;
     _logger     = Logger;
     _mapper     = mapper;
 }
コード例 #2
0
 public ShoeService(IPlayerHandRepository playerHandRepository, IShoeRepository shoeRepository, IGenericRepository <Model.Player> playerProvider, IGenericRepository <Model.PlayerHand> playerHand, IGenericRepository <Model.Shoe> shoeProvider)
 {
     _playerHandRepository = playerHandRepository;
     _shoeRepository       = shoeRepository;
     _playerProvider       = playerProvider;
     _playerHand           = playerHand;
     _shoeProvider         = shoeProvider;
 }
コード例 #3
0
 public ShoeController(IShoeRepository shoeRepository, ICategoryRepository categoryRepository,
                       IBrandRepository brandRepository, IServiceProvider services
                       , IRatingEntryRepository ratingEntryRepository)
 {
     this.shoeRepository        = shoeRepository;
     this.services              = services;
     this.ratingEntryRepository = ratingEntryRepository;
 }
コード例 #4
0
 public ShoeService(IShoeRepository shoeRepository)
 {
     this.shoeRepo = shoeRepository;
 }
コード例 #5
0
        public ShoeControllerTests()
        {
            repo = Substitute.For <IShoeRepository>();

            underTest = new ShoeController(repo);
        }
コード例 #6
0
 public ProductsController(IShoeRepository repository, ILogger <ProductsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
コード例 #7
0
 public ShoeService(IShoeRepository repo)
 {
     _shoeRepo = repo;
 }
コード例 #8
0
ファイル: ShoeService.cs プロジェクト: monvdev/shoestore
 public ShoeService(IRepository <Shoe> shoeBaseRepository, IShoeRepository shoeExtendedRepository)
 {
 }
コード例 #9
0
 public ShoppingCartController(IShoeRepository shoeRepository, ShoppingCart shoppingCart)
 {
     this.shoeRepository = shoeRepository;
     this.shoppingCart   = shoppingCart;
 }
コード例 #10
0
ファイル: ShoeServiceTests.cs プロジェクト: besv16/WebShop
 public void SetUp()
 {
     this.shoeRepository = A.Fake <IShoeRepository>();
     this.shoeService    = new ShoeService(this.shoeRepository);
 }
コード例 #11
0
 public ShoeService(IShoeRepository rep)
 {
     _repository = rep;
 }
コード例 #12
0
 public AppController(/*IMailService mailService, ShoeContext context*/ IShoeRepository repository)
 {
     //_mailService = mailService;
     //_context = context;
     _repository = repository;
 }
コード例 #13
0
 public ShoeService(IShoeRepository iShoeRepository)
 {
     _iShoeRepository = iShoeRepository;
 }
コード例 #14
0
 public HomeController(IShoeRepository shoeRepository)
 {
     this.shoeRepository = shoeRepository;
 }
コード例 #15
0
 public ShoeController(IShoeRepository shoeRepo)
 {
     this.shoeRepo = shoeRepo;
 }