コード例 #1
0
 public AppointmentRepository(
     PetClinicDbContext context,
     IMapper mapper,
     IAppointmentFactory appointmentFactory)
     : base(context)
 {
     this.mapper             = mapper;
     this.appointmentFactory = appointmentFactory;
 }
コード例 #2
0
 public MakeAsClientAppointmentCommandHandler(
     IAppointmentRepository appointmentRepository,
     IAppointmentFactory appointmentFactory,
     ICurrentUser currentUser)
 {
     this.appointmentRepository = appointmentRepository;
     this.appointmentFactory    = appointmentFactory;
     this.currentUser           = currentUser;
 }
コード例 #3
0
 public AppointmentController(IAppointmentManager appointmentManager,
                              IAppointmentFactory appointmentFactory)
 {
     _appointmentManager = appointmentManager;
     _appointmentFactory = appointmentFactory;
 }