public MazeProblemSolver()
        {
            var mirrorService = new MirrorService();

            _mazeService = new MazeService(mirrorService);

            _lazerService = new LazerService();
        }
Exemple #2
0
 public SettingsProvider(IMazeService mazeService, IAlgorithmsHandler algorithmsHandler, GridConfigurationParameters mazeParameters)
 {
     width            = mazeParameters.Width;
     height           = mazeParameters.Height;
     algorithms       = algorithmsHandler.GetAvailableAlgorithmNames();
     metricsNames     = MetricExtensions.AvailableNames();
     this.mazeService = mazeService;
 }
 public MazeController(IMazeService mazeService)
 {
     this.mazeService = mazeService;
 }
Exemple #4
0
 public MazeServiceTests()
 {
     _mazeService = new MazeService(_mockMazeRepo.Object, _mockRoomTyeRepo.Object);
 }
Exemple #5
0
 public MazeController(IMazeService service)
 {
     this._service = service;
 }
 public MazeController(IMazeService mazeService, IMapper mapper)
 {
     this.mazeService = mazeService;
     this.mapper      = mapper;
 }
 /// <summary>
 /// Constructs the maze controller
 /// </summary>
 public MazeController(IMazeService recursiveBacktrackingService)
 {
     _mazeService = recursiveBacktrackingService;
 }
 public ShowApplication(IMazeService mazeService)
 {
     _mazeService = mazeService;
 }
Exemple #9
0
 public MazeController(IMazeService mazeIntegrationService, IMapper mapper)
 {
     _mazeIntegrationService = mazeIntegrationService;
     _mapper = mapper;
 }
 public void SetUp()
 {
     _mazeService    = Substitute.For <IMazeService>();
     _sut            = new ShowApplication(_mazeService);
     _getShowRequest = new GetShowRequest();
 }
Exemple #11
0
 public HomeController(IMazeService mazeService)
 {
     MazeService = mazeService;
 }
Exemple #12
0
 public MazeRunnerService(IMazeService mazeService)
 {
     this.MazeService = mazeService;
 }