Example #1
0
 public UploadCardsModel(ICardStore cardStore, IGameStore gameStore, IImageStore imageStore)
 {
     _cardStore  = cardStore ?? throw new ArgumentNullException(nameof(cardStore));
     _gameStore  = gameStore ?? throw new ArgumentNullException(nameof(gameStore));
     _imageStore = imageStore ?? throw new ArgumentNullException(nameof(imageStore));
 }
Example #2
0
 public CardsController(IGameStore gameStore, ICardStore cardStore, IImageStore imageStore)
 {
     _gameStore  = gameStore ?? throw new ArgumentNullException(nameof(gameStore));
     _cardStore  = cardStore ?? throw new ArgumentNullException(nameof(cardStore));
     _imageStore = imageStore ?? throw new ArgumentNullException(nameof(imageStore));
 }
Example #3
0
 public CardRepository(ICardStore store)
 {
     _store = store;
 }
Example #4
0
 public OperationRepository(ICardStore cardStore)
 {
     _cardStore = cardStore;
 }
 public CreditCardService(ICardStore cardStore)
 {
     _cardStore = cardStore;
 }