public PreferenceSwitcher(IOptions <SwitcherOptions> options, ISitePreferenceStore repository, IDeviceFactory deviceFactory) { _options = options; _repository = repository; _deviceFactory = deviceFactory; }
public DeviceAccessor( ISitePreferenceStore repository, IHttpContextAccessor contextAccessor, IDeviceResolver deviceResolver) { _repository = repository; _contextAccessor = contextAccessor; _deviceResolver = deviceResolver; }