Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CatchesReadModelDenormalizer" /> class.
 /// </summary>
 /// <param name="readModel">The read model.</param>
 /// <param name="domainRepository">The domain repository.</param>
 public CatchesReadModelDenormalizer(IFishLogReadModel readModel, IDomainRepository domainRepository)
 {
     this.readModel        = readModel;
     this.domainRepository = domainRepository;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DashboardController"/> class.
 /// </summary>
 /// <param name="readModel">The read model.</param>
 public DashboardController(IFishLogReadModel readModel)
 {
     this.readModel = readModel;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CatchesController" /> class.
 /// </summary>
 /// <param name="commandBus">The command bus.</param>
 /// <param name="readModel">The read model.</param>
 public CatchesController(ICommandBus commandBus, IFishLogReadModel readModel)
 {
     this.commandBus = commandBus;
     this.readModel  = readModel;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StatisticsDenormalizer"/> class.
 /// </summary>
 /// <param name="readModel">The read model.</param>
 public StatisticsDenormalizer(IFishLogReadModel readModel)
 {
     this.readModel = readModel;
 }