public RestaurantsController(IAuthenticationProvider authProvider, IRestaurantsService restaurantsService, IModelsMapper mapper) { this.authProvider = authProvider; this.restaurantsService = restaurantsService; this.mapper = mapper; }
public TestClass(IGameRepository gameStateRepository, ICoordinatesParser coordinatesParser, IModelsMapper modelMapper) : base(gameStateRepository, coordinatesParser, modelMapper) { GameStateRepository = gameStateRepository; CoordinatesParser = coordinatesParser; ModelMapper = modelMapper; }
public UsersController(IUsersService usersService, IAuthenticationProvider authProvider, IModelsMapper mapper) { this.usersService = usersService; this.authProvider = authProvider; this.mapper = mapper; }
private TestClass Create() { IGameRepository gameStateRepository = A.Fake <IGameRepository>(); ICoordinatesParser coordinatesParser = A.Fake <ICoordinatesParser>(); IModelsMapper modelMapper = A.Fake <IModelsMapper>(); return(new TestClass(gameStateRepository, coordinatesParser, modelMapper)); }
public SeaBattleGameService( IGameRepository gameStateRepository, ICoordinatesParser coordinatesParser, IModelsMapper modelMapper) { _gameStateRepository = gameStateRepository.NotNull(nameof(gameStateRepository)); _coordinatesParser = coordinatesParser.NotNull(nameof(coordinatesParser)); _modelMapper = modelMapper.NotNull(nameof(modelMapper)); }
public BookingsController(IBookingsService bookingsService, IAuthenticationProvider authProvider, IModelsMapper mapper) { this.bookingsService = bookingsService; this.authProvider = authProvider; this.mapper = mapper; }