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; }
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; }
public FlightCreatedHandler(IAirplanesRepository airplanesRepository, IBusPublisher busPublisher) { _airplanesRepository = airplanesRepository; _busPublisher = busPublisher; }
public AirplanesManager(IAirplanesRepository airplaneRepository) { this.airplaneRepository = airplaneRepository; }
public GetAirplaneHandler(IAirplanesRepository repository) { _repository = repository; }
public BrowseAirplanesHandler(IAirplanesRepository airplanesRepository) { _airplanesRepository = airplanesRepository; }