3 instantiations of ProjectItemDefinitionElement
Microsoft.Build (3)
Construction\ProjectItemDefinitionElement.cs (1)
106
return new
ProjectItemDefinitionElement
(element, containingProject);
Evaluation\ProjectParser.cs (1)
732
ProjectItemDefinitionElement itemDefinition = new
ProjectItemDefinitionElement
(element, parent, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
155
return new
ProjectItemDefinitionElement
(link);
26 references to ProjectItemDefinitionElement
Microsoft.Build (26)
Construction\ProjectItemDefinitionElement.cs (1)
96
internal static
ProjectItemDefinitionElement
CreateDisconnected(string itemType, ProjectRootElement containingProject)
Construction\ProjectItemDefinitionGroupElement.cs (4)
48
public ICollection<
ProjectItemDefinitionElement
> ItemDefinitions => GetChildrenOfType<
ProjectItemDefinitionElement
>();
54
public
ProjectItemDefinitionElement
AddItemDefinition(string itemType)
56
ProjectItemDefinitionElement
itemDefinition = ContainingProject.CreateItemDefinitionElement(itemType);
Construction\ProjectMetadataElement.cs (1)
169
ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectItemElement || parent is
ProjectItemDefinitionElement
, "OM_CannotAcceptParent");
Construction\ProjectRootElement.cs (8)
316
public ICollection<
ProjectItemDefinitionElement
> ItemDefinitions => new ReadOnlyCollection<
ProjectItemDefinitionElement
>(GetAllChildrenOfType<
ProjectItemDefinitionElement
>());
1092
public
ProjectItemDefinitionElement
AddItemDefinition(string itemType)
1105
foreach (
ProjectItemDefinitionElement
itemDefinition in itemDefinitionGroup.ItemDefinitions)
1125
ProjectItemDefinitionElement
newItemDefinition = CreateItemDefinitionElement(itemType);
1314
public
ProjectItemDefinitionElement
CreateItemDefinitionElement(string itemType)
1316
return Link != null ? RootLink.CreateItemDefinitionElement(itemType) :
ProjectItemDefinitionElement
.CreateDisconnected(itemType, this);
Definition\ProjectItemDefinition.cs (1)
173
ProjectItemDefinitionElement
itemDefinition = _project.Xml.AddItemDefinition(_itemType);
Evaluation\Evaluator.cs (2)
1009
foreach (
ProjectItemDefinitionElement
itemDefinitionElement in itemDefinitionGroupElement.ItemDefinitions)
1351
private void EvaluateItemDefinitionElement(
ProjectItemDefinitionElement
itemDefinitionElement)
Evaluation\ProjectParser.cs (4)
406
if (parent is
ProjectItemDefinitionElement
)
715
ProjectItemDefinitionElement
itemDefinition = ParseProjectItemDefinitionXml(childElement, itemDefinitionGroup);
726
private
ProjectItemDefinitionElement
ParseProjectItemDefinitionXml(XmlElementWithLocation element, ProjectItemDefinitionGroupElement parent)
732
ProjectItemDefinitionElement
itemDefinition = new ProjectItemDefinitionElement(element, parent, _project);
Instance\ProjectItemDefinitionInstance.cs (2)
217
internal
ProjectItemDefinitionElement
ToProjectItemDefinitionElement(ProjectElementContainer parent)
219
ProjectItemDefinitionElement
element = parent.ContainingProject.CreateItemDefinitionElement(ItemType);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (1)
78
/// Allow for creating a local representation to external object of type <see cref="
ProjectItemDefinitionElement
"/>
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
91
public abstract
ProjectItemDefinitionElement
CreateItemDefinitionElement(string itemType);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
153
public
ProjectItemDefinitionElement
Create(ProjectItemDefinitionElementLink link)