示例#1
0
 public GiftcardContext(IReadStore readStore)
 {
     this.cardNumberQuery                 = new InMemoryCardNumberQuery(readStore);
     this.cardNumberEventHandler          = new InMemoryCardNumberEventHandler(readStore);
     this.giftcardOverviewEventHandler    = new InMemoryGiftcardOverviewEventHandler(readStore);
     this.giftcardTransactionEventHandler = new InMemoryGiftcardTransactionEventHandler(readStore);
 }
示例#2
0
 public FactController(
     ICommandBus commandBus,
     IReadStore readStore)
 {
     _commandBus = commandBus;
     _readStore = readStore;
 }
 public DefaultGameQueryHandler(
     IReadStore <RoyalTile> royalTileStore,
     IReadStore <TechnologyTile> techTileStore,
     IReadStore <StartingTile> startingTileStore,
     IReadStore <SeasonTile> seasonTileStore,
     IReadStore <PyramidTile> pyramidTileStore)
 {
     this.royalTileStore    = royalTileStore;
     this.techTileStore     = techTileStore;
     this.startingTileStore = startingTileStore;
     this.seasonTileStore   = seasonTileStore;
     this.pyramidTileStore  = pyramidTileStore;
 }
示例#4
0
 public InMemoryCardNumberQuery(IReadStore readStore)
 {
     this.readStore = readStore;
 }
示例#5
0
 /// <summary>
 /// Initialises a new instance of the <see cref="AccountListRepository"/> class.
 /// </summary>
 /// <param name="readStore">Read store</param>
 public AccountListRepository(IReadStore readStore)
 {
     this.readStore = readStore;
 }
示例#6
0
 public InMemoryCardNumberEventHandler(IReadStore readStore)
 {
     this.readStore = readStore;
 }
 public InMemoryGiftcardTransactionQuery(IReadStore readStore)
 {
     this.readStore = readStore;
 }
示例#8
0
 public InMemoryGiftcardTransactionEventHandler(IReadStore readStore)
 {
     this.readStore = readStore;
 }
 public ThirdPartyThirdPartyApiManager(IReadStore reader)
 {
     _reader = reader;
 }
 public ThirdPartyThirdPartyApiManager(IReadStore reader)
 {
     _reader = reader;
 }
示例#11
0
 /// <summary>
 /// Initialises a new instance of the <see cref="BudgetListItemRepository"/> class.
 /// </summary>
 /// <param name="readStore">Read store</param>
 public BudgetListItemRepository(IReadStore readStore)
 {
     this.readStore = readStore;
 }
示例#12
0
 public QueryManager(IReadStore reader)
 {
     _reader = reader;
 }
示例#13
0
 public InMemoryGiftcardOverviewQuery(IReadStore readStore)
 {
     this.readStore = readStore;
 }
 public InMemoryGiftcardOverviewEventHandler(IReadStore readStore)
 {
     this.readStore = readStore;
 }
示例#15
0
 public QueryManager(IReadStore reader)
 {
     _reader = reader;
 }
示例#16
0
 public UpcToMovieFinder()
 {
     _upcStore   = new UpcReadStore();
     _movieStore = new MovieReadStore();
 }