public Wrapper([NotNull] IScheduler scheduler, [NotNull] IDeviceFactory deviceFactory, [NotNull] Func <DateTimeOffset, IDateTimeOffset> dateTimeFactory, [NotNull] ISubject <IDevice> received, [NotNull] ISubject <DateTime> stopped, [NotNull] IStatusMapper statusMapper) { Guard.ArgumentNotNull(scheduler, nameof(scheduler)); Guard.ArgumentNotNull(deviceFactory, nameof(deviceFactory)); Guard.ArgumentNotNull(dateTimeFactory, nameof(dateTimeFactory)); Guard.ArgumentNotNull(received, nameof(received)); Guard.ArgumentNotNull(stopped, nameof(stopped)); Guard.ArgumentNotNull(statusMapper, nameof(statusMapper)); _deviceFactory = deviceFactory; _dateTimeFactory = dateTimeFactory; _received = received; _stopped = stopped; _statusMapper = statusMapper; _watcher = new AdvertisementWatcher { ScanningMode = BluetoothLEScanningMode.Active }; }
public StatusesController( ISession session, IStatusMapper statusMapper, IHttpStatusFetcher statusFetcher) { _session = session; _statusMapper = statusMapper; _statusFetcher = statusFetcher; }
public TaskMapper( IUserMapper userMapper, IPriorityMapper priorityMapper, IStatusMapper statusMapper, ICategoryMapper categoryMapper) { _userMapper = userMapper; _priorityMapper = priorityMapper; _statusMapper = statusMapper; _categoryMapper = categoryMapper; }
public TaskStatusController( IHttpTaskFetcher taskFetcher, ISession session, IStatusMapper statusMapper, IHttpStatusFetcher statusFetcher) { _taskFetcher = taskFetcher; _session = session; _statusMapper = statusMapper; _statusFetcher = statusFetcher; }