3 instantiations of Usage
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\Usage.cs (2)
38
public static Usage Parse(XElement xml) => new
Usage
54
return new
Usage
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
20
return new
Usage
13 references to Usage
Microsoft.DotNet.SourceBuild.Tasks (12)
src\UsageReport\AnnotatedUsage.cs (1)
10
public
Usage
Usage { get; set; }
src\UsageReport\Usage.cs (5)
12
public class Usage : IEquatable<
Usage
>
31
nameof(
Usage
),
38
public static
Usage
Parse(XElement xml) => new Usage
47
public static
Usage
Create(
89
public bool Equals(
Usage
other)
src\UsageReport\UsageData.cs (2)
16
public
Usage
[] Usages { get; set; }
61
.Select(
Usage
.Parse)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
122
foreach (
var
usage in used.Usages)
src\UsageReport\WritePackageUsageData.cs (3)
176
var usages = new ConcurrentBag<
Usage
>();
215
usages.Add(
Usage
.Create(
229
usages.Add(
Usage
.Create(
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
17
public
Usage
SimpleUsage(string idVersion)