public ThemeContext( WebWorkContextBase workContext, IGenericCharacteristicDataService genericCharacteristicService, StoreStateSettings storeStateSettings, IThemeProvider themeProvider ) { this.workContext = workContext; this.genericCharacteristicService = genericCharacteristicService; this.storeStateSettings = storeStateSettings; this.themeProvider = themeProvider; // initial theme name using null, represent there is no theme name cached. desktopThemeName = null; mobileThemeName = null; }
public MobileDeviceCheck(StoreStateSettings settings, WebWorkContextBase context) { this.storeStateSettings = settings; this.workContext = context; }