示例#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;
 }
 public ImageController(IMarsRoverService marsRoverService)
 {
     _marsRoverService = marsRoverService;
 }
示例#12
0
 public void InitializeTest()
 {
     _marsRoverService = new MarsRoverService(A.Fake <IConfiguration>());
 }
 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;
 }
 public MarsRoverServiceTest()
 {
     _explorationPlanDeserializer = new ExplorationPlanDeserializer();
     _finalStatusSerializer       = new FinalStatusSerializer();
     _marsRoverService            = new MarsRoverService(_explorationPlanDeserializer, _finalStatusSerializer);
 }
 public RotateRightCommand(IMarsRoverService marsRoverService, IDirectionManagerStrategy directionManagerStrategy)
 {
     _marsRoverService         = marsRoverService;
     _directionManagerStrategy = directionManagerStrategy;
 }
 public MoveForwardCommand(IMarsRoverService marsRoverService, IDirectionManagerStrategy directionManagerStrategy)
 {
     _marsRoverService         = marsRoverService;
     _directionManagerStrategy = directionManagerStrategy;
 }