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));
		}
Ejemplo 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));
 }
Ejemplo n.º 3
0
		public ConditionCategoryIs(IExpressionViewModel expressionViewModel)
			: base("Category is []", expressionViewModel)
		{
			WithLabel("Category is ");
			_itemsInCategoryEl = WithElement(new CategorySelectElement(expressionViewModel)) as CategorySelectElement;
			WithAvailableExcluding(() => new CategorySelectElement("Category", expressionViewModel));
		}
Ejemplo 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));
 }