public ConditionCurrentUrlIs(IExpressionViewModel expressionViewModel)
			: base("Currently viewed Url []", expressionViewModel)
		{
			WithLabel("Current Url ");
			_urlEl = WithElement(new MatchContainsCaseStringElement(expressionViewModel)) as MatchContainsCaseStringElement;
		}
Ejemplo n.º 2
0
		public ConditionReferedFromUrl(IExpressionViewModel expressionViewModel)
			: base("Referred from Url []".Localize(), expressionViewModel)
		{
			WithLabel("Referred Url ".Localize());
			_urlEl = WithElement(new MatchContainsCaseStringElement(expressionViewModel)) as MatchContainsCaseStringElement;
		}