コード例 #1
0
		public ConditionGeoIpRoutingType(IExpressionViewModel expressionViewModel)
			: base("Are browsing from an internet IP routing of type []".Localize(), expressionViewModel)
		{
			WithLabel("Are browsing from an internet IP routing of type ".Localize());
			_matchEl = WithElement(new MatchingContains(false, false)) as MatchingContains;
			_valEl = WithDict(new string[] { "Fixed", "Anonymizer", "Aol", "Aolpop", "Aoldialup", "Aolproxy", "Pop", "Superpop", "Stallite", "Cache proxy", "International proxy", "Regional proxy", "Mobile gateway", "None" }, "select routing type".Localize()) as UserInputElement;
		}
コード例 #2
0
		public ConditionGeoConnectionType(IExpressionViewModel expressionViewModel)
            : base("Are browsing from an internet connection type []".Localize(), expressionViewModel)
		{
            WithLabel("Are browsing from an internet connection type ".Localize());
			_matchEl = WithElement(new MatchingContains(false, false)) as MatchingContains;
            _valEl = WithDict(new string[] { "Ocx", "Tx", "Consumer satellite", "Frame relay", "Dsl" }, "select connection type".Localize()) as UserInputElement;
		}
コード例 #3
0
		public ConditionGeoContinent(IExpressionViewModel expressionViewModel)
			: base("Are browsing from continent []", expressionViewModel)
		{
			WithLabel("Are browsing from continent ");
			_matchEl = WithElement(new MatchingContains(false, false)) as MatchingContains;
			_valEl = WithDict(new string[] { "Africa", "Antarctica", "Asia", "Australia", "Europe", "North America", "Oceania (Melanesia, Polinesia, Micronesia)", "South America" }, "select continent") as UserInputElement;
		}
コード例 #4
0
		public ConditionGeoCountry(IExpressionViewModel expressionViewModel)
            : base("Are browsing from country []".Localize(), expressionViewModel)
		{
            WithLabel("Browsing from country ".Localize());
			_matchEl = WithElement(new MatchingContains(false, false)) as MatchingContains;
            _valEl = WithCustomDict(GetCountryList(expressionViewModel), new[] { "select country".Localize() }) as UserInputElement;
		}
コード例 #5
0
		public ConditionGeoState(IExpressionViewModel expressionViewModel)
			: base("Are browsing from state/province []", expressionViewModel)
		{
			WithLabel("Browsing from state/province ");
			_matchEl = WithElement(new MatchingContains(false, false)) as MatchingContains;
			_stateEl = WithCustomDict(GetStatesList(expressionViewModel), new string[] { "select state" }) as UserInputElement;
		}