public ConditionCategoryIsSubcategory(IExpressionViewModel expressionViewModel)
			: base("Category is subcategory of []".Localize(), expressionViewModel)
		{
			WithLabel("Category is subcategory of ".Localize());
			_itemsInCategoryEl = WithElement(new CategorySelectElement(expressionViewModel)) as CategorySelectElement;
			WithAvailableExcluding(() => new CategorySelectElement("Category".Localize(), expressionViewModel));
		}
Esempio n. 2
0
 public ConditionCategoryIsSubcategory(IExpressionViewModel expressionViewModel)
     : base("Category is subcategory of []".Localize(), expressionViewModel)
 {
     WithLabel("Category is subcategory of ".Localize());
     _itemsInCategoryEl = WithElement(new CategorySelectElement(expressionViewModel)) as CategorySelectElement;
     WithAvailableExcluding(() => new CategorySelectElement("Category".Localize(), expressionViewModel));
 }
		public ConditionCategoryIs(IExpressionViewModel expressionViewModel)
			: base("Category is []", expressionViewModel)
		{
			WithLabel("Category is ");
			_itemsInCategoryEl = WithElement(new CategorySelectElement(expressionViewModel)) as CategorySelectElement;
			WithAvailableExcluding(() => new CategorySelectElement("Category", expressionViewModel));
		}
Esempio n. 4
0
 public ConditionItemsCategoryIs(IExpressionViewModel expressionViewModel)
     : base("Item is in category []", expressionViewModel)
 {
     WithLabel("Item is in category ");
     _itemsInCategoryEl = WithElement(new CategorySelectElement(expressionViewModel)) as CategorySelectElement;
     WithAvailableExcluding(() => new CategorySelectElement(expressionViewModel));
     WithAvailableExcluding(() => new ItemSelectElement(expressionViewModel));
 }