예제 #1
0
 public CommandInvoker(IPlateauService plateauService, IMarsRoverService marsRoverService, ILogger <CommandInvoker> logger, IDirectionManagerStrategy directionManagerStrategy)
 {
     _plateauService           = plateauService;
     _marsRoverService         = marsRoverService;
     _logger                   = logger;
     _directionManagerStrategy = directionManagerStrategy;
 }
 public CreateMarsRoverCommand(IMarsRoverService marsRoverService, IPlateauService plateauService, int x, int y, Direction direction)
 {
     _marsRoverService = marsRoverService;
     _x              = x;
     _y              = y;
     _direction      = direction;
     _plateauService = plateauService;
 }
예제 #3
0
 public MarsRoverController(ILogger <MarsRoverController> logger,
                            IMarsRoverService marsRoverService,
                            IMapper mapper)
 {
     _logger           = logger;
     _marsRoverService = marsRoverService;
     _mapper           = mapper;
 }
예제 #4
0
        public ImageDownloadApp(ILogger <ImageDownloadApp> logger, IAppConfig appConfig, IFileService fileService, IMarsRoverService marsRoverService, IImageService imageService)
        {
            this.logger    = logger;
            this.appConfig = appConfig;

            this.fileService      = fileService;
            this.marsRoverService = marsRoverService;
            this.imageService     = imageService;
        }
 public MarsRoverServiceTest()
 {
     _deserializerHelper = new DeserializerHelper();
     _marsRoverService   = new MarsRoverService(_deserializerHelper);
 }
 public MarsRoverServiceTest()
 {
     Setup();
     _marsRoverService = new MarsRoverService(UnitySetup.Resolve <IApplicationSettings>());
 }
예제 #7
0
 public MarsRoverController(IMarsRoverService marsRoverService)
 {
     _marsRoverService = marsRoverService ?? throw new ArgumentNullException(nameof(marsRoverService));
 }
예제 #8
0
 public FoldersController(IMarsRoverService marsRoverService)
 {
     this._marsRoverService = marsRoverService;
 }
예제 #9
0
 public void Setup()
 {
     _marsRoverService = new MarsRoverService();
 }
예제 #10
0
 public ImageService(ILogger <ImageService> logger, IMarsRoverService marsRoverService, HttpClient httpClient)
 {
     this.logger           = logger;
     this.marsRoverService = marsRoverService;
     this.httpClient       = httpClient;
 }
예제 #11
0
 public ImageController(IMarsRoverService marsRoverService)
 {
     _marsRoverService = marsRoverService;
 }
예제 #12
0
 public void InitializeTest()
 {
     _marsRoverService = new MarsRoverService(A.Fake <IConfiguration>());
 }
예제 #13
0
 public MarsRoverController(IMarsRoverService marsRoverService)
 {
     _marsRoverService = marsRoverService;
 }
예제 #14
0
 public HomeController(ILogger <HomeController> logger, IMarsRoverService clientService)
 {
     _logger        = logger;
     _clientService = clientService;
 }
예제 #15
0
 public MarsRoverBusiness(IMarsRoverService marsRoverService)
 {
     _marsRoverService = marsRoverService;
 }
예제 #16
0
 public MarsRoverServiceTest()
 {
     _explorationPlanDeserializer = new ExplorationPlanDeserializer();
     _finalStatusSerializer       = new FinalStatusSerializer();
     _marsRoverService            = new MarsRoverService(_explorationPlanDeserializer, _finalStatusSerializer);
 }
예제 #17
0
 public RotateRightCommand(IMarsRoverService marsRoverService, IDirectionManagerStrategy directionManagerStrategy)
 {
     _marsRoverService         = marsRoverService;
     _directionManagerStrategy = directionManagerStrategy;
 }
예제 #18
0
 public MoveForwardCommand(IMarsRoverService marsRoverService, IDirectionManagerStrategy directionManagerStrategy)
 {
     _marsRoverService         = marsRoverService;
     _directionManagerStrategy = directionManagerStrategy;
 }