Exemple #1
0
        public void RemoveItem(BuildItem itemToRemove)
        {
            if (itemToRemove == null)
            {
                return;
            }

            itemToRemove.Detach();

            buildItems.Remove(itemToRemove);
        }
Exemple #2
0
 internal void Detach()
 {
     if (FromXml)
     {
         itemElement.ParentNode.RemoveChild(itemElement);
     }
     else if (HasParentItem)
     {
         if (parent_item.child_items.Count > 1)
         {
             SplitParentItem();
         }
         parent_item.Detach();
     }
 }
		public void RemoveItem (BuildItem itemToRemove)
		{
			if (itemToRemove == null)
				return;

			itemToRemove.Detach ();

			buildItems.Remove (itemToRemove);
		}