3 instantiations of UsageData
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\UsageData.cs (1)
43public static UsageData Parse(XElement xml) => new UsageData
src\UsageReport\WritePackageUsageData.cs (1)
244var data = new UsageData
Microsoft.DotNet.SourceBuild.Tasks.Tests (1)
ValidateUsageAgainstBaselineTests.cs (1)
26public UsageData SimpleUsageData(params string[] ids) => new UsageData
23 references to UsageData
Microsoft.DotNet.SourceBuild.Tasks (14)
src\UsageReport\UsageData.cs (2)
19nameof(UsageData), 43public static UsageData Parse(XElement xml) => new UsageData
src\UsageReport\UsageValidationData.cs (1)
18public UsageData ActualUsageData { get; set; }
src\UsageReport\ValidateUsageAgainstBaseline.cs (8)
52var used = UsageData.Parse(XElement.Parse(File.ReadAllText(DataFile))); 58var baseline = UsageData.Parse(XElement.Parse(baselineText)); 71public UsageValidationData GetUsageValidationData(UsageData baseline, UsageData used) 158private static void ApplyBaselineIgnorePatterns(UsageData actual, UsageData baseline)
src\UsageReport\WritePackageUsageData.cs (1)
244var data = new UsageData
src\UsageReport\WriteUsageReports.cs (2)
63UsageData data = UsageData.Parse(XElement.Parse(File.ReadAllText(DataFile)));
Microsoft.DotNet.SourceBuild.Tasks.Tests (9)
ValidateUsageAgainstBaselineTests.cs (9)
26public UsageData SimpleUsageData(params string[] ids) => new UsageData 37var baseline = SimpleUsageData("A/1.0.0"); 38var used = SimpleUsageData("A/1.0.0", "B/1.0.0"); 54var baseline = SimpleUsageData(); 62var used = SimpleUsageData("A/1.0.0", "B/1.0.0", "Cat/1.2.3", "Car/1.4.5"); 75var baseline = SimpleUsageData("A/1.0.0", "B/1.0.0"); 81var used = SimpleUsageData("A/1.0.0", "B/1.0.0"); 96var baseline = SimpleUsageData(); 104var used = SimpleUsageData();