Пример #1
0
        public void Visit(ItemGroupToken token)
        {
            if (currentTarget == null)
              {
            var itemGroup = Project.AddNewItemGroup();
            var values = token.Value.Split(';');
            foreach (var item in values)
              itemGroup.AddNewItem(token.VariableName, item);
            return;
              }

              //Construct the thingy into the target
              var t = currentTarget.AddNewTask("CreateItem");
              t.SetParameterValue("Include", token.Value);
              t.AddOutputItem("Include", token.VariableName);
        }
Пример #2
0
 public void Visit(ItemGroupToken token)
 {
     VisitedItemGroupToken++;
       TotalCount++;
       Tokens.Add(token);
 }