public MemberController(IUserProfileService userProfileService, IVUserProfileService vUserProfileService, IDirectionService directionService, IMapper mapper) { _userProfileService = userProfileService ?? throw new ArgumentNullException(nameof(userProfileService)); _vUserProfileService = vUserProfileService ?? throw new ArgumentNullException(nameof(vUserProfileService)); _directionService = directionService ?? throw new ArgumentNullException(nameof(directionService)); _mapper = mapper; }
public UserProfileController(IUserProfileService userProfileService, IVUserProfileService vUserProfileService, IDirectionService directionService) { _userProfileService = userProfileService; _vUserProfileService = vUserProfileService; _directionService = directionService; }
public MapController(IPollutionRepository pollutionRepo, ISchoolRepository schoolRepo, IJourneyRepository journeyRepo, IIntersectionService interactionService, IDirectionService directionService) { _pollutionRepo = pollutionRepo; _schoolRepo = schoolRepo; _journeyRepo = journeyRepo; _interactionService = interactionService; _directionService = directionService; }
public UserProfileController( IUserProfileService userProfileService, IvUserProfileService vUserProfileService, IDirectionService directionService, IMapper mapper) { _userProfileService = userProfileService; _vUserProfileService = vUserProfileService; _directionService = directionService; _mapper = mapper; }
public DirectionsController(IDirectionService directionsService, IDirectionsCache directionsCache, ILogger <DirectionsController> logger, IUserRouteTracer userRouteTracer, ISubscriptionService subscriptionService) { this.directionsService = directionsService; this.directionsCache = directionsCache; _logger = logger; _userRouteTracer = userRouteTracer; _subscriptionService = subscriptionService; }
public ApplicationAddressService( ITransactionService transactionService, IMappingService mappingService, IAddressService domainAddressService, IDirectionService directionService, IGeocoderService geocoderService) : base(transactionService) { MappingService = mappingService; DomainAddressService = domainAddressService; DirectionService = directionService; GeocoderService = geocoderService; }
public ApplicationRouteService( ITransactionService transactionService, IDirectionService directionService, IRouteService domainRouteService, IRouteLegService domainRouteLegService, IApplicationAddressService addressService) : base(transactionService) { DirectionService = directionService; DomainRouteService = domainRouteService; DomainRouteLegService = domainRouteLegService; AddressService = addressService; }
public CommandInvoker(IPlateauService plateauService, IRoverService roverService, ILogger <CommandInvoker> logger, IDirectionService directionService) { _plateauService = plateauService; _roverService = roverService; _logger = logger; _directionService = directionService; _commandTypeDictionary = new Dictionary <string, CommandType> { { @"^\d+ \d+$", CommandType.CreatePlateauCommand }, { @"^\d+ \d+ [NSEW]$", CommandType.CreateMarsRoverCommand }, { @"^[LMR]+$", CommandType.MoveRoverCommand } }; }
public MinionViewModel(INavigationService navigationService, IDirectionService service, ILocationManager locationManager) { _locationManager = locationManager; this.service = service; this.service.OnCompassDirectionReceived() .Subscribe((heading) => { this.Heading = heading.Value; }); }
public MasterViewModel(INavigationService navigationService, IDirectionService service) { this.service = service; this.service.OnGpsReceived() .Subscribe((position) => { Device.BeginInvokeOnMainThread(() => { Locations.Clear(); Locations.Add(new Location() { Position = new Xamarin.Forms.Maps.Position(position.Latitude, position.Longitude) }); }); }); }
public HuntingViewModel(Guid scavengerId) { _isHunting = false; _movementService = DependencyService.Get <IMovementService>(); _directionService = DependencyService.Get <IDirectionService>(); _scavengerService = DependencyService.Get <IScavengerService>(); _soundService = DependencyService.Get <ISoundService>(); _scavengerClient = DependencyService.Get <IScavengerClient>(); _directionService.OnDirectionChanged += _directionService_OnDirectionChanged; _movementService.CurrentPositionChanged += _movementService_CurrentPointChanged; _scavengerClient.OnEggFound += Client_OnEggFound; _scavengerId = scavengerId; _scavengerService.OnConnected += ScavengerService_OnConnected; _scavengerService.OnDisconnected += ScavengerService_OnDisconnected; //var locationService = DependencyService.Get<ILocationService>(); //locationService.LocationChanged += _locationService_LocationChanged; }
public LeftCommand(IRoverService marsRoverService, IDirectionService directionManagerStrategy) { _roverService = marsRoverService; _directionService = directionManagerStrategy; }
public DirectionTest() { _directionService = ServiceProvider.GetRequiredService <IDirectionService>(); }
public RouteService(IDirectionService directionService, IMapper mapper) { _directionService = directionService; _mapper = mapper; }
public DirectionsController() { _directionService = new DirectionService(db); }
public DirectionController(IDirectionService directionService) { _directionService = directionService; }
public DirectionController(IDirectionService service) { _service = service; }