1 instantiation of Product
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
1081
product = new
Product
(node, productCode, results, copyAllPackageFiles);
70 references to Product
Microsoft.Build.Tasks.Core (70)
BootstrapperUtil\BootstrapperBuilder.cs (46)
254
private static void Merge(Dictionary<string,
Product
> output, Dictionary<string,
Product
> input)
256
foreach (
Product
product in input.Values)
262
private static void AddProduct(Dictionary<string,
Product
> output,
Product
product)
273
var productsAndIncludes = new Dictionary<string,
Product
>();
292
Dictionary<string,
Product
> includes = GetIncludedProducts(builder.Product);
293
foreach (
Product
p in includes.Values)
301
foreach (List<
Product
> productDependency in builder.Product.Dependencies)
304
foreach (
Product
p in productDependency)
322
foreach (
Product
product in productDependency)
442
Product
product = Products.Product(productCode);
518
foreach (
Product
p in Products)
618
var availableProducts = new Dictionary<string,
Product
>(StringComparer.Ordinal);
620
var buildQueue = new Dictionary<string,
Product
>(StringComparer.Ordinal);
625
Product
p = CreateProduct(productNode);
634
foreach (
Product
p in availableProducts.Values)
641
foreach (
Product
p in buildQueue.Values)
650
private void AddDependencies(
Product
p, Dictionary<string,
Product
> availableProducts)
654
if (availableProducts.TryGetValue(relatedProductCode, out
Product
product))
666
var foundDependencies = new List<
Product
>();
675
if (availableProducts.TryGetValue(dependency, out
Product
product))
697
private void AddIncludes(
Product
p, Dictionary<string,
Product
> availableProducts)
701
if (availableProducts.TryGetValue(relatedProductCode, out
Product
product))
708
private string[] SelectRelatedProducts(
Product
p, string nodeName)
728
private XmlNodeList SelectEitherProducts(
Product
p)
734
private void OrderProducts(Dictionary<string,
Product
> availableProducts, Dictionary<string,
Product
> buildQueue)
743
foreach (
Product
p in buildQueue.Values)
768
Product
p = buildQueue.Values.First();
785
private static void RemoveDependency(Dictionary<string,
Product
> availableProducts,
Product
product)
787
foreach (
Product
p in availableProducts.Values)
789
foreach (List<
Product
> dependency in p.Dependencies)
1064
private
Product
CreateProduct(XmlNode node)
1068
Product
product = null;
1103
private static Package CreatePackage(XmlNode node,
Product
product)
2206
private static Dictionary<string,
Product
> GetIncludedProducts(
Product
product)
2208
var includedProducts = new Dictionary<string,
Product
>(StringComparer.OrdinalIgnoreCase)
2216
foreach (
Product
p in product.Includes)
2225
private static void AddIncludedProducts(
Product
product, Dictionary<string,
Product
> includedProducts)
2230
foreach (
Product
p in product.Includes)
BootstrapperUtil\Interfaces.cs (3)
180
Product
Item(int index);
188
Product
Product(string productCode);
203
Product
Product { get; }
BootstrapperUtil\Package.cs (2)
14
public Package(
Product
product, XmlNode node, XmlValidationResults validationResults, string name, string culture)
29
public
Product
Product { get; }
BootstrapperUtil\Product.cs (9)
43
Dependencies = new List<List<
Product
>>();
116
internal List<List<
Product
>> Dependencies { get; }
123
internal bool ContainsDependencies(List<
Product
> dependenciesToCheck)
125
foreach (List<
Product
> d in Dependencies)
128
foreach (
Product
p in d)
131
foreach (
Product
pd in dependenciesToCheck)
175
internal void AddIncludedProduct(
Product
product)
180
internal void AddDependentProduct(
Product
product)
182
var newDependency = new List<
Product
> { product };
BootstrapperUtil\ProductBuilder.cs (2)
13
internal ProductBuilder(
Product
product)
21
public
Product
Product { get; }
BootstrapperUtil\ProductCollection.cs (8)
21
private readonly List<
Product
> _list = new List<
Product
>();
22
private readonly Dictionary<string,
Product
> _table = new Dictionary<string,
Product
>(StringComparer.OrdinalIgnoreCase);
28
internal void Add(
Product
product)
46
public
Product
Item(int index)
56
public
Product
Product(string productCode)
58
_table.TryGetValue(productCode, out
Product
product);