Beispiel #1
0
            public LandingPageVariable(Func <Tuple <SiteInfo, ItemInfo> > siteAndItem, ItemInfoClient itemInfo)
            {
                _siteAndItem = siteAndItem;
                _itemInfo    = itemInfo;

                DependentVariables.Add("Language"); //TODO: Language?
                DependentVariables.Add("Campaign");
            }
Beispiel #2
0
        public ExternalSearchVariable(Func <SearchEngine> engine,
                                      Func <IEnumerable <string> > keywords,
                                      double localizeTld = 0.5)
        {
            Engine      = engine;
            Keywords    = keywords;
            LocalizeTld = localizeTld;

            DependentVariables.Add("Channel");
            DependentVariables.Add("DomainPostfix");
            DependentVariables.Add("Tld");
        }