コード例 #1
0
 public CreateReservationHandler(IReservationsFactory factory, IReservationsRepository repository,
                                 IEventProcessor processor)
 {
     _repository = repository;
     _processor  = processor;
     _factory    = factory;
 }
コード例 #2
0
 public ReservationsController(IReservationsFactory reservationsFactory)
 {
     _reservationsFactory = reservationsFactory;
 }