Exemple #1
0
 public CardsController(IMtgCardSource source)
 {
     _source = source;
 }
Exemple #2
0
 public CollectionsController(ICollectionSource collectionSource, IMtgCardSource cardSource, IUserSource userSource)
 {
     _collectionSource = collectionSource;
     _cardSource       = cardSource;
     _userSource       = userSource;
 }
Exemple #3
0
 public DecksController(IMtgDeckSource deckSource, ICollectionSource collectionSource, IMtgCardSource mtgCardSource)
 {
     _deckSource       = deckSource;
     _collectionSource = collectionSource;
     _mtgCardSource    = mtgCardSource;
 }
Exemple #4
0
 public UserDeckController(IUserDeckSource source, IMtgCardSource cardSource)
 {
     _source     = source;
     _cardSource = cardSource;
 }