コード例 #1
0
 public ReservationController(
     INewReservation newReservation,
     IModelFactory modelFactory,
     IBuyTicket buyTicket,
     IDeleteReservation deleteReservation
     )
 {
     this.newReservation    = newReservation;
     this.deleteReservation = deleteReservation;
     this.buyTicket         = buyTicket;
     this.modelFactory      = modelFactory;
 }
 public BuyTicketReservationValidation(IReservationRepository reservationRepo, IBuyTicket buyTicket)
 {
     this.reservationRepo = reservationRepo;
     this.buyTicket       = buyTicket;
 }
コード例 #3
0
 public BuyTicketLateValidation(IProjectionRepository projRepo, IBuyTicket buyTicket, IReservationRepository reservationRepository)
 {
     this.projRepo              = projRepo;
     this.buyTicket             = buyTicket;
     this.reservationRepository = reservationRepository;
 }
コード例 #4
0
 public TicketController(IBuyTicket buyTicket)
 {
     this.buyTicket = buyTicket;
 }