public BeaconTokenService(TramContext tramContext, IMapper mapper, IOptions <BeaconTokenSettings> beaconTokenOptions) { _tramContext = tramContext; _mapper = mapper; tokenDurabilityInMinutes = beaconTokenOptions.Value.TokenDurabilityInMinutes; tokenLength = beaconTokenOptions.Value.TokenLength; numberOfTokensToGenerate = 24 * 60 / beaconTokenOptions.Value.TokenDurabilityInMinutes; }
public SensorReadingService(TramContext context, IMapper mapper, AccelerometerHandler accelerometerHandler, GyroscopeHandler gyroscopeHandler, LocationHandler locationHandler, IHttpContextAccessor httpContextAccessor, ModelsManager.ModelsManager modelsManager) { _mapper = mapper; _accelerometerHandler = accelerometerHandler; _gyroscopeHandler = gyroscopeHandler; _locationHandler = locationHandler; _httpContextAccessor = httpContextAccessor; _modelsManager = modelsManager; Context = context; }
public CityService(TramContext context) { _context = context; }
public TripService(TramContext context, IMapper mapper, IHttpContextAccessor httpContextAccessor) { _context = context; _mapper = mapper; _httpContextAccessor = httpContextAccessor; }
public UserService(TramContext context, IOptions <AppSettings> appSettings) { Context = context; _appSettings = appSettings.Value; }
public TripService(TramContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public TramService(TramContext context) { Context = context; }