public NewGamePresenterImpl(NewGameView view, IAirplanesRepository airplanesRepository, IEnvironmentRepository environmentRepository, IGamePlayRepository gamePlayRepository)
 {
     this.view = view;
     this.airplanesRepository   = airplanesRepository;
     this.environmentRepository = environmentRepository;
     this.gamePlayRepository    = gamePlayRepository;
 }
 public GameplayPresenterImpl(GameplayView view, IGamePlayRepository gamePlayRepository, IAirplanesRepository airplanesRepository, ISessionsRepository sessionRepository)
 {
     this.view = view;
     this.gamePlayRepository  = gamePlayRepository;
     this.airplanesRepository = airplanesRepository;
     this.sessionRepository   = sessionRepository;
 }
Esempio n. 3
0
 public CreateAirplaneHandlerTests()
 {
     _airplanesRepository = Substitute.For <IAirplanesRepository>();
     _busPublisher        = Substitute.For <IBusPublisher>();
     _busSubscriber       = Substitute.For <IBusSubscriber>();
     _correlationContext  = Substitute.For <ICorrelationContext>();
     _commandHandler      = new CreateAirplaneHandler(_airplanesRepository, _busPublisher);
 }
 public FlightEndedHandler(IAirplanesRepository airplanesRepository)
 {
     _airplanesRepository = airplanesRepository;
 }
Esempio n. 5
0
 public FlightCreatedHandler(IAirplanesRepository airplanesRepository, IBusPublisher busPublisher)
 {
     _airplanesRepository = airplanesRepository;
     _busPublisher        = busPublisher;
 }
Esempio n. 6
0
 public AirplanesManager(IAirplanesRepository airplaneRepository)
 {
     this.airplaneRepository = airplaneRepository;
 }
 public GetAirplaneHandler(IAirplanesRepository repository)
 {
     _repository = repository;
 }
Esempio n. 8
0
 public BrowseAirplanesHandler(IAirplanesRepository airplanesRepository)
 {
     _airplanesRepository = airplanesRepository;
 }