3 instantiations of ProjectItemElement
Microsoft.Build (3)
Construction\ProjectItemElement.cs (1)
429ProjectItemElement item = new ProjectItemElement(element, containingProject);
Evaluation\ProjectParser.cs (1)
312ProjectItemElement item = new ProjectItemElement(element, parent, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
165return new ProjectItemElement(link);
269 references to ProjectItemElement
Microsoft.Build (127)
BuildCheck\OM\ParsedItemsCheckData.cs (6)
15/// Extension methods for <see cref="ProjectItemElement"/>. 19public static IEnumerable<ProjectItemElement> GetItemsOfType(this IEnumerable<ProjectItemElement> items, 32public class ItemsHolder(IEnumerable<ProjectItemElement> items, IEnumerable<ProjectItemGroupElement> itemGroups) 34public IEnumerable<ProjectItemElement> Items { get; } = items; 37public IEnumerable<ProjectItemElement> GetItemsOfType(string itemType)
Construction\ProjectItemElement.cs (5)
355internal ProjectItemElement NextItem 359ProjectItemElement result = null; 364result = NextSibling as ProjectItemElement; 422internal static ProjectItemElement CreateDisconnected(string itemType, ProjectRootElement containingProject) 429ProjectItemElement item = new ProjectItemElement(element, containingProject);
Construction\ProjectItemGroupElement.cs (6)
57public ICollection<ProjectItemElement> Items => GetChildrenOfType<ProjectItemElement>(); 90public ProjectItemElement AddItem(string itemType, string include) 100public ProjectItemElement AddItem(string itemType, string include, IEnumerable<KeyValuePair<string, string>> metadata) 109foreach (ProjectItemElement item in Items) 135ProjectItemElement newItem = ContainingProject.CreateItemElement(itemType, include);
Construction\ProjectMetadataElement.cs (1)
168ErrorUtilities.VerifyThrowInvalidOperation(parent is ProjectItemElement || parent is ProjectItemDefinitionElement, "OM_CannotAcceptParent");
Construction\ProjectRootElement.cs (11)
312public ICollection<ProjectItemElement> Items => new ReadOnlyCollection<ProjectItemElement>(GetAllChildrenOfType<ProjectItemElement>()); 970public ProjectItemElement AddItem(string itemType, string include) 985public ProjectItemElement AddItem(string itemType, string include, IEnumerable<KeyValuePair<string, string>> metadata) 1020ProjectItemElement newItem = itemGroupToAddTo.AddItem(itemType, include, metadata); 1257public ProjectItemElement CreateItemElement(string itemType) 1259return Link != null ? RootLink.CreateItemElement(itemType) : ProjectItemElement.CreateDisconnected(itemType, this); 1266public ProjectItemElement CreateItemElement(string itemType, string include) 1273ProjectItemElement item = ProjectItemElement.CreateDisconnected(itemType, this);
Definition\Project.cs (40)
1670internal bool SplitItemElementIfNecessary(ProjectItemElement itemElement) 1699internal bool ItemElementRequiresSplitting(ProjectItemElement itemElement) 1715internal bool IsSuitableExistingItemXml(ProjectItemElement candidateExistingItemXml, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata) 1763internal string ExpandItemIncludeBestEffortLeaveEscaped(ProjectItemElement renamedItemElement) 2563private List<GlobResult> GetAllGlobs(List<ProjectItemElement> projectItemElements) 2595var itemElement = projectItemElements[i]; 2617private GlobResult BuildGlobResultFromIncludeItem(ProjectItemElement itemElement, IReadOnlyDictionary<string, CumulativeRemoveElementData> removeElementCache) 2666private void CacheInformationFromRemoveItem(ProjectItemElement itemElement, Dictionary<string, CumulativeRemoveElementData> removeElementCache) 2726IEnumerable<ProjectItemElement> itemElementsAbove = GetItemElementsThatMightAffectItem(GetEvaluatedItemElements(evaluationContext), item); 2739private List<ProjectItemElement> GetEvaluatedItemElements(EvaluationContext evaluationContext) 2750private static IEnumerable<ProjectItemElement> GetItemElementsThatMightAffectItem(List<ProjectItemElement> evaluatedItemElements, ProjectItem item) 2752IEnumerable<ProjectItemElement> relevantElementsAfterInclude = evaluatedItemElements 2769private static List<ProjectItemElement> GetItemElementsByType(IEnumerable<ProjectItemElement> itemElements, string itemType) 2774private List<ProvenanceResult> GetItemProvenance(string itemToMatch, IEnumerable<ProjectItemElement> projectItemElements) 2792private ProvenanceResult ComputeProvenanceResult(string itemToMatch, ProjectItemElement itemElement) 3011ProjectElement element = GetAnySuitableExistingItemXml(itemType, unevaluatedInclude, metadata, out ProjectItemElement itemElement); 3017if (element is ProjectItemElement itemElementToAddBefore) 3080ProjectItemElement itemElement; 3391internal bool SplitItemElementIfNecessary(ProjectItemElement itemElement) 3420internal bool ItemElementRequiresSplitting(ProjectItemElement itemElement) 3436public bool IsSuitableExistingItemXml(ProjectItemElement candidateExistingItemXml, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata) 3519public string ExpandItemIncludeBestEffortLeaveEscaped(ProjectItemElement renamedItemElement) 3591private List<ProjectItem> AddItemHelper(ProjectItemElement itemElement, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata) 3838private ProjectElement GetAnySuitableExistingItemXml(string itemType, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata, out ProjectItemElement suitableExistingItemXml) 3858ProjectItemElement itemToAddBefore = null; 3877foreach (ProjectItemElement existingItemXml in itemGroupXml.Items) 3964bool IsSuitableExistingItemXml(ProjectItemElement candidateExistingItemXml, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata); 3972string ExpandItemIncludeBestEffortLeaveEscaped(ProjectItemElement renamedItemElement); 3989public bool IsSuitableExistingItemXml(ProjectItemElement candidateExistingItemXml, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata) { throw new NotImplementedException(); } 3997public string ExpandItemIncludeBestEffortLeaveEscaped(ProjectItemElement renamedItemElement) { throw new NotImplementedException(); } 4122public List<ProjectItemElement> EvaluatedItemElements { get; private set; } 4280EvaluatedItemElements = new List<ProjectItemElement>(); 4643/// Gets the original <see cref="ProjectItemElement"/> that contained the globs. 4645public ProjectItemElement ItemElement { get; } 4670public GlobResult(ProjectItemElement itemElement, IEnumerable<string> includeGlobStrings, IMSBuildGlob globWithGaps, IEnumerable<string> excludeFragmentStrings, IEnumerable<string> removeFragmentStrings) 4743/// Gets the <see cref="ProjectItemElement"/> that contains the operation. 4745public ProjectItemElement ItemElement { get; } 4760public ProvenanceResult(ProjectItemElement itemElement, Operation operation, Provenance provenance, int occurrences)
Definition\ProjectItem.cs (10)
80private ProjectItemElement _xml; 110internal ProjectItem(ProjectItemElement xml, Project project) 124ProjectItemElement xml, 155public ProjectItemElement Xml 572/// If true, adds direct metadata to the <see cref="ProjectItemElement"/> from which this <see cref="ProjectItem"/> originated. The intent is to affect all other sibling items. 816/// Called ONLY by <see cref="Microsoft.Build.Evaluation.Project.SplitItemElementIfNecessary(ProjectItemElement)"/> 823ProjectItemElement oldXml = _xml; 916private ProjectItemElement _xml; 933internal ProjectItemFactory(Project project, ProjectItemElement xml) 952public ProjectItemElement ItemElement
Evaluation\Evaluator.cs (5)
363internal static List<I> CreateItemsFromInclude(string rootDirectory, ProjectItemElement itemElement, IItemFactory<I, I> itemFactory, string unevaluatedIncludeEscaped, Expander<P, I> expander, ILoggingService loggingService, string buildEventFileInfoFullPath, BuildEventContext buildEventContext) 500foreach (ProjectItemElement itemElement in itemGroupElement.Items) 1015foreach (ProjectItemElement itemElement in itemGroupElement.Items) 1310private void EvaluateItemElement(bool itemGroupConditionResult, ProjectItemElement itemElement, LazyItemEvaluator<P, I, M, D> lazyEvaluator) 2460private void RecordEvaluatedItemElement(ProjectItemElement itemElement)
Evaluation\IEvaluatorData.cs (1)
203List<ProjectItemElement> EvaluatedItemElements
Evaluation\IItemFactory.cs (1)
36ProjectItemElement ItemElement
Evaluation\LazyItemEvaluator.cs (11)
121public ItemData(I item, ProjectItemElement originatingItemElement, int elementOrder, bool conditionResult, string normalizedItemValue = null) 130public readonly ItemData Clone(IItemFactory<I, I> itemFactory, ProjectItemElement initialItemElementForFactory) 142public ProjectItemElement OriginatingItemElement { get; } 464public ProjectItemElement ItemElement { get; set; } 474public OperationBuilder(ProjectItemElement itemElement, bool conditionResult) 486public OperationBuilderWithMetadata(ProjectItemElement itemElement, bool conditionResult) : base(itemElement, conditionResult) 506public void ProcessItemElement(string rootDirectory, ProjectItemElement itemElement, bool conditionResult) 532private UpdateOperation BuildUpdateOperation(string rootDirectory, ProjectItemElement itemElement, bool conditionResult) 544private IncludeOperation BuildIncludeOperation(string rootDirectory, ProjectItemElement itemElement, bool conditionResult) 581private RemoveOperation BuildRemoveOperation(string rootDirectory, ProjectItemElement itemElement, bool conditionResult) 651private void ProcessMetadataElements(ProjectItemElement itemElement, OperationBuilderWithMetadata operationBuilder)
Evaluation\LazyItemEvaluator.EvaluatorData.cs (1)
41public List<ProjectItemElement> EvaluatedItemElements
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
179public IncludeOperationBuilder(ProjectItemElement itemElement, bool conditionResult) : base(itemElement, conditionResult)
Evaluation\LazyItemEvaluator.ItemFactoryWrapper.cs (3)
17private ProjectItemElement _itemElement; 20public ItemFactoryWrapper(ProjectItemElement itemElement, IItemFactory<I, I> wrappedItemFactory) 31public ProjectItemElement ItemElement
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
25protected readonly ProjectItemElement _itemElement;
Evaluation\LazyItemEvaluator.RemoveOperation.cs (1)
118public RemoveOperationBuilder(ProjectItemElement itemElement, bool conditionResult) : base(itemElement, conditionResult)
Evaluation\ProjectParser.cs (5)
248ProjectItemElement item = ParseProjectItemElement(childElement, itemGroup); 259private ProjectItemElement ParseProjectItemElement(XmlElementWithLocation element, ProjectItemGroupElement parent) 312ProjectItemElement item = new ProjectItemElement(element, parent, _project); 399ProjectErrorUtilities.VerifyThrowInvalidProject(!(parent is ProjectItemElement) || ((ProjectItemElement)parent).Remove.Length == 0, element.Location, "ChildElementsBelowRemoveNotAllowed", element.Name);
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
149public List<ProjectItemElement> EvaluatedItemElements => _wrapped.EvaluatedItemElements;
Instance\ProjectInstance.cs (6)
405this.EvaluatedItemElements = new List<ProjectItemElement>(project.Items.Count); 481EvaluatedItemElements = new List<ProjectItemElement>(linkedProject.Items.Count); 558this.EvaluatedItemElements = new List<ProjectItemElement>(); 675this.EvaluatedItemElements = new List<ProjectItemElement>(data.EvaluatedItemElements); 1148public List<ProjectItemElement> EvaluatedItemElements 3104this.EvaluatedItemElements = new List<ProjectItemElement>();
Instance\ProjectItemInstance.cs (4)
677internal ProjectItemElement ToProjectItemElement(ProjectElementContainer parent) 679ProjectItemElement item = parent.ContainingProject.CreateItemElement(ItemType); 2005public ProjectItemElement ItemElement 2137public ProjectItemElement ItemElement
ObjectModelRemoting\ConstructionObjectLinks\ProjectItemElementLink.cs (1)
12/// Allow for creating a local representation to external object of type <see cref="ProjectItemElement"/>
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (2)
83public abstract ProjectItemElement CreateItemElement(string itemType); 88public abstract ProjectItemElement CreateItemElement(string itemType, string include);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectItemLink.cs (1)
26public abstract ProjectItemElement Xml { get; }
ObjectModelRemoting\LinkedObjectFactory.cs (3)
80public ProjectItem Create(ProjectItemLink link, Project project = null, ProjectItemElement xml = null) 163public ProjectItemElement Create(ProjectItemElementLink link) 245internal LinkedProjectItem(ProjectItemElement xml, Project project, ProjectItemLink link)
Microsoft.Build.BuildCheck.UnitTests (13)
ParsedItemsAnalysisDataTests.cs (13)
20ProjectItemElement el1 = ProjectItemElement.CreateDisconnected("ItemB", root); 21ProjectItemElement el2 = ProjectItemElement.CreateDisconnected("ItemB", root); 22ProjectItemElement el3 = ProjectItemElement.CreateDisconnected("ItemA", root); 23ProjectItemElement el4 = ProjectItemElement.CreateDisconnected("ItemB", root); 24ProjectItemElement el5 = ProjectItemElement.CreateDisconnected("ItemA", root); 26var items = new List<ProjectItemElement>() 39itemsA.ShouldBeSameIgnoringOrder(new List<ProjectItemElement>() { el3, el5 }); 40itemsB.ShouldBeSameIgnoringOrder(new List<ProjectItemElement>() { el1, el2, el4 });
Microsoft.Build.Engine.OM.UnitTests (129)
Construction\ConstructionEditing_Tests.cs (46)
648ProjectItemElement item = project.CreateItemElement("i"); 664ProjectItemElement item = project.CreateItemElement("i"); 679ProjectItemElement item = project.CreateItemElement("i"); 706ProjectItemElement item = project.CreateItemElement("i"); 733ProjectItemElement itemRemoveFirst = project.CreateItemElement("i"); 734ProjectItemElement itemInclude = project.CreateItemElement("i"); 735ProjectItemElement itemRemoveSecond = project.CreateItemElement("i"); 736ProjectItemElement itemUpdate = project.CreateItemElement("i"); 737ProjectItemElement itemRemoveThird = project.CreateItemElement("i"); 766public delegate void AddMetadata(ProjectItemElement element); 876Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.InsertAfterChild(c, r); }; 918Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => { i.InsertBeforeChild(c, r); }; 999Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => 1063Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> act = (i, c, r) => 1072private static void AssertMetadataConstruction(AddMetadata addMetadata, int position, string expectedItem, Action<ProjectItemElement, ProjectMetadataElement, ProjectMetadataElement> actOnTestData) 1076var item = itemGroup.AddItem("i", "a"); 1119foreach (var updateElement in itemUpdateElements) 1139var firstIncludeItem = project.CreateItemElement("i"); 1140var secondIncludeItem = project.CreateItemElement("i"); 1141var firstUpdateItem = project.CreateItemElement("i"); 1142var secondUpdateItem = project.CreateItemElement("i"); 1225ProjectItemElement item = project.CreateItemElement("i"); 1776ProjectItemElement item = project.AddItem("i", "i1"); 2374ProjectItemElement item1 = group1.AddItem("i", "i1"); 2375ProjectItemElement item2 = group1.AddItem("i", "i2"); 2397ProjectItemElement item1 = group1.AddItem("i", "i1"); 2398ProjectItemElement item2 = group1.AddItem("i", "i2"); 2420ProjectItemElement item1 = group1.AddItem("i", "i1"); 2421ProjectItemElement item2 = group1.AddItem("i", "i2"); 2443ProjectItemElement item1 = group1.AddItem("i", "i1"); 2444ProjectItemElement item2 = group1.AddItem("i", "i2"); 2466ProjectItemElement item1 = group1.AddItem("i", "i1"); 2467ProjectItemElement item2 = group1.AddItem("i", "i2"); 2489ProjectItemElement item1 = group1.AddItem("i", "i1"); 2490ProjectItemElement item2 = group1.AddItem("i", "i2"); 2491ProjectItemElement item3 = group1.AddItem("i", "i3"); 2569var element = ProjectRootElement.Create().AddItem("i", "i1"); 2580var element = ProjectRootElement.Create().AddItem("i", "i1"); 2819var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 2830var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 2916var element = ProjectRootElement.Create().AddItem("i", "i1"); 2927var element = ProjectRootElement.Create().AddItem("i", "i1"); 3078var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 3089var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 3112var item = itemGroup.AddItem("i1", "i"); 3146var item = itemGroup.AddItem("i1", "i");
Construction\ProjectItemElement_Tests.cs (29)
80ProjectItemElement item = GetItemFromContent(project); 98ProjectItemElement item = GetItemFromContent(project); 413ProjectItemElement item = Helpers.GetFirst(itemGroup.Items); 597var item = GetItemFromContent(project); 610var item = GetItemFromContent(project); 637var item = GetItemFromContent(project); 651ProjectItemElement item = GetItemFromContent(project); 666ProjectItemElement item = GetItemFromContent(project); 681ProjectItemElement item = GetItemFromContent(project); 696ProjectItemElement item = GetItemFromContent(project); 711ProjectItemElement item = GetItemFromContent(project); 726ProjectItemElement item = GetItemFromContent(project); 743ProjectItemElement item = GetItemFromContent(project); 759ProjectItemElement item = GetItemFromContent(project); 773ProjectItemElement item = GetItemFromContent(project); 788ProjectItemElement item = GetItemFromContent(project); 803ProjectItemElement item = GetItemFromContent(project); 820ProjectItemElement item = GetItemFromContent(project); 836ProjectItemElement item = GetItemFromContent(project); 852ProjectItemElement item = GetItemFromContent(project); 867ProjectItemElement item = GetItemFromContent(project); 882ProjectItemElement item = GetItemFromContent(project); 897ProjectItemElement item = GetItemFromContent(project); 914ProjectItemElement item = GetItemFromContent(project); 930ProjectItemElement item = GetItemFromContent(project); 944ProjectItemElement item = GetItemFromContent(project); 1007ProjectItemElement item = project.AddTarget("t").AddItemGroup().AddItem("i", "i1"); 1027ProjectItemElement item = project.AddItemGroup().AddItem("i", "i1"); 1039private static ProjectItemElement GetItemFromContent(string content)
Construction\ProjectMetadataElement_Tests.cs (2)
307var item = items.First(); 1272ProjectItemElement item = Helpers.GetFirst(itemGroup.Items);
Construction\ProjectRootElement_Tests.cs (2)
888List<ProjectItemElement> items = Helpers.MakeList(project.Items); 1168var item = ig.AddItem("Foo", "boo$(hoo)");
Construction\WhiteSpacePreservation_Tests.cs (1)
406var newItemElement = itemGroup.ContainingProject.CreateItemElement("i2", "b");
Definition\DefinitionEditing_Tests.cs (25)
420ProjectItemElement itemElement = project.Xml.AddItem("i", "*.xxx"); 446ProjectItemElement itemElement = project.Xml.AddItem("i", "*.xxx"); 471ProjectItemElement item1 = project.Xml.AddItem("i", "*.xxx"); 474ProjectItemElement item2 = project.AddItem("i", "i1.xxx")[0].Xml; 522ProjectItemElement item1 = project.Xml.AddItem( 527ProjectItemElement item2 = 558ProjectItemElement item1 = project.Xml.AddItem("i", @"c:\subdir1\**\subdir2\**\*.x?x"); 561ProjectItemElement item2 = project.AddItem("i", @"c:\subdir1\a\b\c\i1.xyx")[0].Xml; 586ProjectItemElement item1 = project.Xml.AddItem("i", "*.xxx"); 673ProjectItemElement itemElement = project.Xml.AddItem("i", wildcard); 794ProjectItemElement itemElement = project.Xml.AddItem("i", wildcard); 898ProjectItemElement newItemElement = Helpers.GetFirst((Helpers.GetFirst(project.Xml.ItemGroups)).Items); 926ProjectItemElement newItemElement = Helpers.GetLast((Helpers.GetLast(project.Xml.ItemGroups)).Items); 952ProjectItemElement newItemElement = Helpers.GetLast((Helpers.GetLast(project.Xml.ItemGroups)).Items); 1236ProjectItemElement itemElement = Helpers.GetFirst(Helpers.GetFirst(project.Xml.ItemGroups).Items); 1394ProjectItemElement itemElement = project.Xml.AddItem("i", wildcard); 2341ProjectItemElement itemElement = project.Xml.AddItem("i", "*.xxx"); 2367ProjectItemElement itemElement = project.Xml.AddItem("i", "*.xxx"); 2392ProjectItemElement item1 = project.Xml.AddItem("i", "*.xxx"); 2395ProjectItemElement item2 = project.AddItemFast("i", "i1.xxx")[0].Xml; 2443ProjectItemElement item1 = project.Xml.AddItem("i", 2447ProjectItemElement item2 = project.AddItemFast("i", 2475ProjectItemElement item1 = project.Xml.AddItem("i", @"c:\subdir1\**\subdir2\**\*.x?x"); 2478ProjectItemElement item2 = project.AddItemFast("i", @"c:\subdir1\a\b\c\i1.xyx")[0].Xml; 2503ProjectItemElement item1 = project.Xml.AddItem("i", "*.xxx");
Definition\ProjectItem_Tests.cs (2)
2228Assert.Equal(2, project.Xml.AllChildren.OfType<ProjectItemElement>().Count()); 2288Assert.Equal(2, project.Xml.AllChildren.OfType<ProjectItemElement>().Count());
Definition\ProjectMetadata_Tests.cs (1)
462ProjectItemElement itemXml = import.AddItem("i", "i1");
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
884public static void Verify(ProjectItemElement viewXml, ProjectItemElement realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
219if (VerifyCheckType<ProjectItemElement>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (9)
83xmlPair.Add2NewChildrenWithVerify<ProjectItemElement>(newItem, (p, i) => p.AddItem("cpp", i), (pi, i) => pi.Include == i, out var item1, out var item2); 84xmlPair.Add2NewChildrenWithVerify<ProjectItemElement>(newItemWithMetadata, (p, i) => p.AddItem("cpp", i, itemMetadata), (pi, i) => pi.Include == i, out var itemWithMetadata1, out var itemWithMetadata2); 108xmlPair.CreateWithVerify<ProjectItemElement>((p) => p.CreateItemElement("itemType")); 109xmlPair.CreateWithVerify<ProjectItemElement>((p) => p.CreateItemElement("itemType", "include")); 351var item1 = xmlPair.AddNewChaildWithVerify<ProjectItemElement>(ObjectType.View, "newItem", (p, i) => p.AddItem("cpp", i), (pi, i) => pi.Include == i); 644var itemInTargt = itemGrp.AddNewChaildWithVerify<ProjectItemElement>(ObjectType.View, "targetfile.cs", (p, s) => p.AddItem("cs", s), (pe, s) => pe.Include == s); 646var item = xmlPair.AddNewChaildWithVerify<ProjectItemElement>(ObjectType.View, "file.cpp", (p, s) => p.AddItem("cpp", s), (pe, s) => pe.Include == s); 697itemGrp.Add2NewChildrenWithVerify<ProjectItemElement>("file.cpp", (ig, inc) => ig.AddItem("cpp", inc), (i, inc) => i.Include == inc, out var item1, out var item2); 705itemGrp.Add2NewChildrenWithVerify<ProjectItemElement>("file.cs", (ig, inc) => ig.AddItem("cs", inc, itemMetadata), (i, inc) => i.Include == inc, out var itemWithMetadata1, out var itemWithMetadata2);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemElementLink.cs (2)
14public ProjectItemElement ItemXml => (ProjectItemElement)Source;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (4)
217public override ProjectItemElement CreateItemElement(string itemType) 219return (ProjectItemElement)this.Proxy.CreateItemElement(itemType).Import(this.Linker); 222public override ProjectItemElement CreateItemElement(string itemType, string include) 224return (ProjectItemElement)this.Proxy.CreateItemElement(itemType, include).Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
57ElementInfo.New<ProjectItemElement , MockProjectItemElementLinkRemoter>(),
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (2)
54public override ProjectItemElement Xml => (ProjectItemElement)this.Proxy.Xml.Import(this.Linker);