Implemented interface member:
method
GetItems
Microsoft.Build.Evaluation.IItemProvider<T>.GetItems(System.String)
178 references to GetItems
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (2)
257ICollection<ProjectItemInstance> items = lookup.GetItems(consumedItemName); 318ICollection<ProjectItemInstance> items = entry.Value ?? lookup.GetItems(itemName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
252ICollection<ProjectItemInstance> group = bucket.Lookup.GetItems(child.ItemType); 299ICollection<ProjectItemInstance> group = bucket.Lookup.GetItems(child.ItemType);
BackEnd\Components\RequestBuilder\Lookup.cs (1)
663var existingItems = GetItems(itemType);
Microsoft.Build.Engine.UnitTests (173)
BackEnd\BuildRequestConfiguration_Tests.cs (2)
386Assert.Equal(fooCount, lookup.GetItems("Foo").Count); 412Assert.Equal(fooCount, lookup.GetItems("Foo").Count);
BackEnd\IntrinsicTask_Tests.cs (68)
250ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 251ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 293var group = lookup.GetItems("i1"); 313var group = lookup.GetItems("i1"); 334var group = lookup.GetItems("i1"); 354var group = lookup.GetItems("i1"); 375var group = lookup.GetItems("i1"); 396var group = lookup.GetItems("i1"); 399group = lookup.GetItems("i2"); 424var group = lookup.GetItems("i1"); 446var group = lookup.GetItems("i2"); 470var group = lookup.GetItems("i2"); 497var group = lookup.GetItems("i2"); 523var group = lookup.GetItems("i2"); 552var group = lookup.GetItems("i2"); 576var group = lookup.GetItems("i2"); 600var group = lookup.GetItems("i2"); 626var group = lookup.GetItems("i2"); 655var group = lookup.GetItems("i2"); 702ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 725ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 751ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 822ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 823ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 846ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 867ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 868ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 891ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 892ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 1002ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 1003ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 1029ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 1030ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 1063ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 1120ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 1121ICollection<ProjectItemInstance> i2Group = lookup.GetItems("i2"); 1631Assert.Empty(lookup.GetItems("i1")); 1649Assert.Empty(lookup.GetItems("i1")); 1712Assert.Empty(lookup.GetItems("i1")); 1731Assert.Empty(lookup.GetItems("i1")); 1750Assert.Empty(lookup.GetItems("i1")); 1777var items = lookup.GetItems("I2"); 1811var items = lookup.GetItems("I2"); 1853var items = lookup.GetItems("I2"); 1908var items = lookup.GetItems("I2"); 1942var items = lookup.GetItems("I2"); 1980var items = lookup.GetItems("I2"); 2016var items = lookup.GetItems("I2"); 2053ICollection<ProjectItemInstance> items = lookup.GetItems("I2"); 2088ICollection<ProjectItemInstance> items = lookup.GetItems("I3"); 2147ICollection<ProjectItemInstance> i0Group = lookup.GetItems("i0"); 2228ICollection<ProjectItemInstance> i1Group = lookup.GetItems("i1"); 2271ICollection<ProjectItemInstance> linkGroup = lookup.GetItems("link"); 2544Assert.Single(lookup.GetItems("i1")); 2545Assert.Equal("other", lookup.GetItems("i1").First().EvaluatedInclude); 2834Assert.Empty(lookup.GetItems("i1")); 2856ProjectItemInstance item = lookup.GetItems("i1").First(); 2914ProjectItemInstance item = lookup.GetItems("i1").First(); 2965ProjectItemInstance item1 = lookup.GetItems("i1").First(); 2966ProjectItemInstance item2 = lookup.GetItems("i1").ElementAt(1); 2995ProjectItemInstance item1 = lookup.GetItems("i1").First(); 2996ProjectItemInstance item2 = lookup.GetItems("i1").ElementAt(1); 3044ProjectItemInstance item1 = lookup.GetItems("i1").First(); 3045ProjectItemInstance item2 = lookup.GetItems("i1").ElementAt(1); 3075ProjectItemInstance item1 = lookup.GetItems("i1").First(); 3076ProjectItemInstance item2 = lookup.GetItems("i1").ElementAt(1); 3115ICollection<ProjectItemInstance> i0Group = lookup.GetItems("i0"); 4004return lookup.GetItems(itemType).Select(i => (ObjectModelHelpers.ITestItem)new ObjectModelHelpers.ProjectItemInstanceTestItemAdapter(i)).ToList();
BackEnd\Lookup_Tests.cs (89)
38Assert.Equal("a2", lookup.GetItems("i1").First().EvaluatedInclude); 39Assert.Equal("a(2", lookup.GetItems("i2").First().EvaluatedInclude); 58Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 59Assert.Equal("a;1", lookup.GetItems("i2").First().EvaluatedInclude); 72Assert.Empty(lookup.GetItems("i1")); 88Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 89Assert.Single(lookup.GetItems("i1")); 99Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 100Assert.Single(lookup.GetItems("i1")); 111Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 112Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 113Assert.Equal(2, lookup.GetItems("i1").Count); 123Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 124Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 125Assert.Equal(2, lookup.GetItems("i1").Count); 135Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 136Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 137Assert.Equal(2, lookup.GetItems("i1").Count); 172var group = lookup.GetItems("i1"); 184group = lookup.GetItems("i1"); 224var group = lookup.GetItems("i1"); 237group = lookup.GetItems("i1"); 271Assert.Single(lookup.GetItems("i1")); 272Assert.Equal("a2", lookup.GetItems("i1").First().EvaluatedInclude); 278Assert.Empty(lookup.GetItems("i1")); 284Assert.Empty(lookup.GetItems("i1")); 294Assert.Empty(lookup.GetItems("i1")); 315Assert.Single(lookup.GetItems("i1")); 321Assert.Single(lookup2.GetItems("i1")); 327Assert.Single(lookup.GetItems("i1")); 333Assert.Empty(lookup.GetItems("i1")); 336Assert.Single(lookup2.GetItems("i1")); 342Assert.Empty(lookup.GetItems("i1")); 345Assert.Empty(lookup2.GetItems("i1")); 351Assert.Empty(lookup.GetItems("i1")); 352Assert.Empty(lookup2.GetItems("i1")); 373Assert.Single(lookup.GetItems("i1")); 379Assert.Empty(lookup.GetItems("i1")); 385Assert.Empty(lookup.GetItems("i1")); 391Assert.Empty(lookup.GetItems("i1")); 416ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 419group = lookup.GetItems("i1"); 431group = lookup.GetItems(item1.ItemType); 434group = lookup.GetItems("i1"); 446group = lookup.GetItems("i1"); 481ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 484group = lookup.GetItems("i1"); 496group = lookup.GetItems(item1.ItemType); 499group = lookup.GetItems("i1"); 509group = lookup.GetItems("i1"); 541ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 544group = lookup.GetItems("i1"); 559group = lookup.GetItems(item1.ItemType); 562group = lookup.GetItems("i1"); 575group = lookup.GetItems("i1"); 612ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 615group = lookup.GetItems("i1"); 630group = lookup.GetItems(item1.ItemType); 633group = lookup.GetItems("i1"); 645group = lookup.GetItems("i1"); 679ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 682group = lookup.GetItems("i1"); 693group = lookup.GetItems("i1"); 704group = lookup.GetItems("i1"); 733ICollection<ProjectItemInstance> group = lookup.GetItems(item1.ItemType); 736group = lookup.GetItems("i1"); 745group = lookup.GetItems("i1"); 754group = lookup.GetItems("i1"); 786group = lookup.GetItems("i1"); 796group = lookup.GetItems("i1"); 807group = lookup.GetItems("i1"); 849group = lookup.GetItems("i1"); 886group = lookup.GetItems("i1"); 911ICollection<ProjectItemInstance> group = lookup.GetItems("i1"); 926ICollection<ProjectItemInstance> foundGroup = lookup.GetItems("i1"); 938foundGroup = lookup.GetItems("i1"); 952foundGroup = lookup.GetItems("i1"); 987group = lookup.GetItems("i1"); 997group = lookup.GetItems("i1"); 1044ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1056ICollection<ProjectItemInstance> group4 = lookup.GetItems(item1b.ItemType); 1064ICollection<ProjectItemInstance> group5 = lookup.GetItems(item1b.ItemType); 1095ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1107ICollection<ProjectItemInstance> group4 = lookup.GetItems(item1b.ItemType); 1115ICollection<ProjectItemInstance> group5 = lookup.GetItems(item1b.ItemType); 1148ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1156ICollection<ProjectItemInstance> group3 = lookup.GetItems(item1.ItemType); 1185ICollection<ProjectItemInstance> group2 = lookup.GetItems(item1.ItemType); 1193ICollection<ProjectItemInstance> group3 = lookup.GetItems(item1.ItemType);
BackEnd\TargetEntry_Tests.cs (6)
337Assert.Equal(2, entry.Lookup.GetItems("Compile").Count); 338Assert.Single(entry.Lookup.GetItems("FooTask1_Item")); 339Assert.Single(entry.Lookup.GetItems("BarTask1_Item")); 363Assert.Equal(2, entry.Lookup.GetItems("Compile").Count); 374Assert.Equal(2, entry.Lookup.GetItems("Compile").Count); 375Assert.Single(entry.Lookup.GetItems("FooTask1_Item"));
BackEnd\TaskExecutionHost_Tests.cs (8)
1302Assert.Single(_bucket.Lookup.GetItems("output")); 1303Assert.Equal(value, _bucket.Lookup.GetItems("output").First().EvaluatedInclude); 1314Assert.Single(_bucket.Lookup.GetItems("output")); 1315Assert.Equal(0, TaskItemComparer.Instance.Compare(value, new TaskItem(_bucket.Lookup.GetItems("output").First()))); 1326Assert.Equal(values.Length, _bucket.Lookup.GetItems("output").Count); 1329Assert.Equal(values[i], _bucket.Lookup.GetItems("output").ElementAt(i).EvaluatedInclude); 1341Assert.Equal(values.Length, _bucket.Lookup.GetItems("output").Count); 1344Assert.Equal(0, TaskItemComparer.Instance.Compare(values[i], new TaskItem(_bucket.Lookup.GetItems("output").ElementAt(i))));