Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public MobileDeviceCheck(StoreStateSettings settings, WebWorkContextBase context)
 {
     this.storeStateSettings = settings;
     this.workContext = context;
 }