286 references to TaskItem
HelixTasks (1)
SDKCustomCreateXUnitWorkItemsWithTestExclusion.cs (1)
166partitionedWorkItem.Add(new Microsoft.Build.Utilities.TaskItem(assemblyPartitionInfo.DisplayName + testIdentityDifferentiator, new Dictionary<string, string>()
Microsoft.Build.Engine.UnitTests (6)
BackEnd\NullMetadataTask.cs (1)
29OutputItems[0] = new TaskItem("foo", (IDictionary)metadata);
ProjectCache\ProjectCacheTests.cs (2)
152new TaskItem( 998new TaskItem(
TaskParameter_Tests.cs (3)
369TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 402TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 449TaskParameter t = new TaskParameter(new TaskItem("foo", metadata));
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (23)
GenerateMSBuildEditorConfigTests.cs (7)
233TaskItem item1 = new TaskItem("file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 234TaskItem item2 = new TaskItem("subDir\\file2.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 235TaskItem item3 = new TaskItem("someDir\\otherDir\\thirdDir\\..\\file3.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 267TaskItem item1 = new TaskItem("file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 268TaskItem item2 = new TaskItem("someDir\\..\\file1.cs", new Dictionary<string, string> { { "ItemType", "AdditionalFile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "def456" } }); 310TaskItem property1 = new TaskItem("Property1", new Dictionary<string, string> { { "Value", longPropertyValue } }); 311TaskItem property2 = new TaskItem("Property2", new Dictionary<string, string> { { "Value", "def456" } });
MapSourceRootTests.cs (16)
39new TaskItem(@"c:\MyProjects\MyProject\", new Dictionary<string, string> 43new TaskItem(@"c:\MyProjects\MyProject\a\b\", new Dictionary<string, string> 89new TaskItem(@"****/", new Dictionary<string, string> 93new TaskItem(@"****\|||:;\", new Dictionary<string, string> 161new TaskItem(@"c:\MyProjects\MyProject\a\a\", new Dictionary<string, string> 166new TaskItem(@"c:\MyProjects\MyProject\a\b\", new Dictionary<string, string> 171new TaskItem(@"c:\MyProjects\MyProject\a\c\", new Dictionary<string, string> 250new TaskItem(path1, new Dictionary<string, string> 255new TaskItem(path2, new Dictionary<string, string> 293new TaskItem(path1, new Dictionary<string, string> 302new TaskItem(path1, new Dictionary<string, string> 311new TaskItem(path2, new Dictionary<string, string> 316new TaskItem(path2, new Dictionary<string, string> 365new TaskItem(@"c:\MyProjects\MyProject\a\b\", new Dictionary<string, string> 395new TaskItem(@"c:\MyProjects\MyProject\a\b\", new Dictionary<string, string> 427new TaskItem(path1, new Dictionary<string, string>
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\ResolveAssemblyReference.cs (1)
1188_unresolvedConflicts.Add(new TaskItem(assemblyName.Name, new Dictionary<string, string>()
Microsoft.Build.Tasks.UnitTests (17)
AssemblyDependency\Node\RarNodeExecuteResponse_Tests.cs (7)
23new TaskItem( 31new TaskItem( 62new TaskItem( 71new TaskItem( 78new TaskItem( 85new TaskItem( 97new TaskItem(
AssemblyDependency\Perf.cs (1)
109new TaskItem(@"C:\NugetCache\N\lib\N.dll", // version 2.0.0.0
AssemblyDependency\SuggestedRedirects.cs (2)
360new TaskItem("A", new Dictionary<string, string> { ["ExternallyResolved"] = "true" }), 361new TaskItem("B", new Dictionary<string, string> { ["ExternallyResolved"] = "true" }),
AssignTargetPath_Tests.cs (1)
99new TaskItem(
FindInvalidProjectReferences_Tests.cs (4)
40t.ProjectReferences = new TaskItem[] { new TaskItem("proj1.proj", proj1), new TaskItem("proj2.proj", proj2), new TaskItem("proj3.proj", proj3), new TaskItem("proj4.proj", proj4) };
ResolveSDKReference_Tests.cs (2)
4198SDKReference reference = new(new TaskItem("sdkReference", new Dictionary<string, string>() { { SDKManifest.Attributes.TargetPlatform, "UAP" } }), "sdkName", "1.0.2"); 4200new Dictionary<string, ITaskItem>() { { "sdkName, Version=1.0.2", new TaskItem(Path.GetTempFileName(), new Dictionary<string, string>() { { "PlatformVersion", "1.0.2" } }) } },
Microsoft.Build.Utilities.UnitTests (3)
TaskItem_Tests.cs (3)
120TaskItem t = new TaskItem("bamboo.baz", h); 310TaskItem item = new TaskItem("bar", (IDictionary)metadata); 436CreatedTaskItems[i] = new TaskItem(includes[i], (IDictionary)metadataToAdd);
Microsoft.DotNet.Arcade.Sdk.Tests (9)
GenerateSourcePackageSourceLinkTargetsFileTests.cs (2)
27new TaskItem(NormalizePath(@"C:\temp\A\"), new Dictionary<string, string> { { "SourceLinkUrl", "http://A-git/commitsha/*" } }), 29new TaskItem(NormalizePath(@"C:\temp\A\B\C\"), new Dictionary<string, string> { { "SourceLinkUrl", "http://C-git/commitsha/*?var=value" } }),
GetAssemblyFullNameTests.cs (2)
24new TaskItem("Item", new Dictionary<string, string> { { "SomePath", objectAssembly.Location } }), 25new TaskItem("Item", new Dictionary<string, string> { { "SomePath", thisAssembly.Location } }),
GroupItemsByTests.cs (5)
21new TaskItem("A", new Dictionary<string, string> { { "Y", "A1.Y" }, { "Z", "A1.Z" }, { "W", "A1.W" } }), 22new TaskItem("B", new Dictionary<string, string> { { "Z", "B1.Z" } }), 23new TaskItem("A", new Dictionary<string, string> { { "X", "A2.X" }, { "Z", "A2.Z" }, { "W", "A2.W" } }), 24new TaskItem("C", new Dictionary<string, string> { { "X", "C1.X" }, { "Z", "C1.Z" } }), 25new TaskItem("C", new Dictionary<string, string> { { "Y", "C2.Y" }, { "Z", "C2.Z" } }),
Microsoft.DotNet.Build.Manifest.Tests (20)
BuildModelFactoryTests.cs (20)
111new TaskItem(bopSymbolsNupkg, new Dictionary<string, string> 118new TaskItem(bopSnupkg, new Dictionary<string, string> 127new TaskItem(zipArtifact, new Dictionary<string, string> 133new TaskItem(localPackagePath, new Dictionary<string, string>() 141new TaskItem(pdbArtifact, new Dictionary<string, string> 232new TaskItem(localPackagePath, new Dictionary<string, string>() 285new TaskItem(zipArtifact, new Dictionary<string, string> 321new TaskItem(pdbArtifact, new Dictionary<string, string> 354new TaskItem(localPackagePath, new Dictionary<string, string> 391new TaskItem(localPackagePath, new Dictionary<string, string> 445new TaskItem(bopSymbolsNupkg, new Dictionary<string, string> 452new TaskItem(bopSnupkg, new Dictionary<string, string> 461new TaskItem(zipArtifact, new Dictionary<string, string> 467new TaskItem(localPackagePath, new Dictionary<string, string>() 475new TaskItem(pdbArtifact, new Dictionary<string, string> 592new TaskItem(bopSymbolsNupkg, new Dictionary<string, string> 603new TaskItem(zipArtifact, new Dictionary<string, string> 609new TaskItem(localPackagePath, new Dictionary<string, string>() 618new TaskItem(pdbArtifact, new Dictionary<string, string> 694new TaskItem("missingKindArtifact.nupkg", new Dictionary<string, string>
Microsoft.DotNet.Build.Tasks.Feed.Tests (18)
PushToBuildStorageTests.cs (18)
46new TaskItem(PACKAGE_A, new Dictionary<string, string> 53new TaskItem(PACKAGE_B, new Dictionary<string, string> 59new TaskItem(BLOB_A, new Dictionary<string, string> 291new TaskItem(PDB_A, new Dictionary<string, string> 296new TaskItem(PDB_B, new Dictionary<string, string> 346new TaskItem(PDB_A, new Dictionary<string, string> 351new TaskItem(PDB_B, new Dictionary<string, string> 477new TaskItem(PACKAGE_A, new Dictionary<string, string> 482new TaskItem(PACKAGE_B, new Dictionary<string, string> 486new TaskItem(BLOB_A, new Dictionary<string, string> 492new TaskItem(PDB_A, new Dictionary<string, string> 593new TaskItem(PACKAGE_A, new Dictionary<string, string> 598new TaskItem(PACKAGE_B, new Dictionary<string, string> 602new TaskItem(BLOB_A, new Dictionary<string, string> 608new TaskItem(PDB_A, new Dictionary<string, string> 766new TaskItem(PDB_A, new Dictionary<string, string> 807new TaskItem(PDB_A, new Dictionary<string, string> 812new TaskItem(PDB_B, new Dictionary<string, string>
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (5)
Vsix\GetPkgDefAssemblyDependencyGuidTests.cs (5)
21new TaskItem("Item", new Dictionary<string, string> { { "SomeInput", "SomeValue" } }), 22new TaskItem("Item", new Dictionary<string, string> { { "SomeInput", "\U00012345" } }), 23new TaskItem("Item", new Dictionary<string, string> { { "SomeInput", "\uD800" } }), // unpaired surrogate treated as invalid character 24new TaskItem("Item", new Dictionary<string, string> { { "SomeInput", "\uD801" } }), // unpaired surrogate treated as invalid character 25new TaskItem("Item", new Dictionary<string, string> { { "SomeInput", "" } }), // empty is skipped
Microsoft.DotNet.Build.Tasks.Workloads.Tests (2)
SwixComponentTests.cs (2)
105new TaskItem("Microsoft.NET.Runtime", new Dictionary<string, string> { { Metadata.Replacement, "MSFT" } }) 147new TaskItem("microsoft-net-sdk-blazorwebassembly-aot", new Dictionary<string, string> {
Microsoft.DotNet.Helix.Sdk (2)
CreateXUnitWorkItems.cs (1)
148var result = new Microsoft.Build.Utilities.TaskItem(assemblyName, new Dictionary<string, string>()
XharnessTaskBase.cs (1)
112return new(workItemName, new Dictionary<string, string>()
Microsoft.DotNet.Helix.Sdk.Tests (2)
FindDotNetCliPackageTests.cs (2)
92new TaskItem("https://fakeazureaccount.blob.core.windows.net", metadata) 143new TaskItem("https://fakeazureaccount.blob.core.windows.net", metadata)
Microsoft.DotNet.SignTool (2)
src\ZipData.cs (2)
735scripts.Add(new TaskItem(file, new Dictionary<string, string> { { "Kind", kind } })); 752Requires = requireNames != null ? requireNames.Zip(requireVersions, (name, version) => new TaskItem($"{name}", new Dictionary<string, string> { { "Version", version } })).Where(t => !t.ItemSpec.StartsWith("rpmlib")).ToArray() : [],
Microsoft.DotNet.SignTool.Tests (41)
SignToolTests.cs (41)
82new TaskItem(".jar", new Dictionary<string, string> { 86new TaskItem(".ps1", new Dictionary<string, string> { 90new TaskItem(".psd1", new Dictionary<string, string> { 94new TaskItem(".psm1", new Dictionary<string, string> { 98new TaskItem(".psc1", new Dictionary<string, string> { 102new TaskItem(".dylib", new Dictionary<string, string> { 106new TaskItem(".deb", new Dictionary<string, string> { 110new TaskItem(".dll", new Dictionary<string, string> { 114new TaskItem(".exe", new Dictionary<string, string> { 118new TaskItem(".zip", new Dictionary<string, string> { 122new TaskItem(".tgz", new Dictionary<string, string> { 126new TaskItem(".pkg", new Dictionary<string, string> { 130new TaskItem(".app", new Dictionary<string, string> { 134new TaskItem(".nupkg", new Dictionary<string, string> { 138new TaskItem(".vsix", new Dictionary<string, string> { 142new TaskItem(".jar", new Dictionary<string, string> { 146new TaskItem(".ps1", new Dictionary<string, string> { 150new TaskItem(".psd1", new Dictionary<string, string> { 154new TaskItem(".dll", new Dictionary<string, string> { 158new TaskItem(".nupkg", new Dictionary<string, string> { 162new TaskItem(".vsix", new Dictionary<string, string> { 2583fileExtensionSignInfo.Add(new TaskItem(".ps1", new Dictionary<string, string> 2588fileExtensionSignInfo.Add(new TaskItem(".ps1", new Dictionary<string, string>{ 2602fileExtensionSignInfo.Add(new TaskItem(".ps1", new Dictionary<string, string> 2607fileExtensionSignInfo.Add(new TaskItem(".ps1", new Dictionary<string, string>{ 2610fileExtensionSignInfo.Add(new TaskItem(".ps1", new Dictionary<string, string> 2624fileExtensionSignInfo.Add(new TaskItem(".tar.gz", new Dictionary<string, string> 2676new TaskItem(GetResourcePath("ContainerOne.1.0.0.nupkg"), new Dictionary<string, string> 2681new TaskItem(GetResourcePath("SignedLibrary.dll"), new Dictionary<string, string> 2686new TaskItem(GetResourcePath("test.zip"), new Dictionary<string, string> 2694new TaskItem("ArcadeStrongTest", new Dictionary<string, string> 2705new TaskItem("ProjectOne.dll", new Dictionary<string, string> 2712new TaskItem("SignedLibrary.dll", new Dictionary<string, string> 2719new TaskItem("test.zip", new Dictionary<string, string> 2729new TaskItem("DualSignCertificate", new Dictionary<string, string> 2734new TaskItem("MacDeveloperHardenWithNotarization", new Dictionary<string, string> 2740new TaskItem("DetachedArchiveCert", new Dictionary<string, string> 3478new TaskItem("dotnet.exe", new Dictionary<string, string>() 3483new TaskItem("dotnet", new Dictionary<string, string>() 3488new TaskItem("dotnet", new Dictionary<string, string>() 3513new TaskItem("test.exe", new Dictionary<string, string>()
Microsoft.DotNet.SourceBuild.Tasks (1)
src\ReadNuGetPackageInfos.cs (1)
32return new TaskItem(
Microsoft.Extensions.ApiDescription.Client.Tests (16)
GetOpenApiReferenceMetadataTest.cs (13)
30Inputs = new[] { new TaskItem(identity, inputMetadata) }, 90Inputs = new[] { new TaskItem(identity, inputMetadata) }, 150Inputs = new[] { new TaskItem(identity, inputMetadata) }, 210Inputs = new[] { new TaskItem(identity, inputMetadata) }, 280new TaskItem(identity1, inputMetadata1), 281new TaskItem(identity2, inputMetadata2), 326new TaskItem(identity, inputMetadata1), 327new TaskItem(identity, inputMetadata2), 363Inputs = new[] { new TaskItem(identity, inputMetadata) }, 427Inputs = new[] { new TaskItem(identity, inputMetadata) }, 492new TaskItem(identity12, inputMetadata1), 493new TaskItem(identity12, inputMetadata2), 494new TaskItem(identity3, inputMetadata3),
MetadataSerializerTest.cs (3)
187var input = new TaskItem(identity, metadata); 211var input = new TaskItem(identity, metadata); 227var input = new TaskItem(escapedValue, metadata);
Microsoft.Maui.Resizetizer (1)
ResizetizeImages.cs (1)
118 copiedResources.Add(new TaskItem(itemSpec, attr));
Microsoft.NET.Build.Containers.IntegrationTests (14)
FullFramework\CreateNewImageToolTaskTests.cs (14)
218new TaskItem("Valid1", new Dictionary<string, string>() {{ "Value", "Val1" }}), 219new TaskItem("Valid12", new Dictionary<string, string>() {{ "Value", "Val2" }}), 220new TaskItem("Valid12", new Dictionary<string, string>() {{ "Value", "" }}), 221new TaskItem("Valid3", new Dictionary<string, string>() {{ "Value", "has space" }}), 222new TaskItem("Valid4", new Dictionary<string, string>() {{ "Value", "has\"quotes\"" }}) 264new TaskItem("Valid1", new Dictionary<string, string>() {{ "Value", "Val1" }}), 265new TaskItem("Valid12", new Dictionary<string, string>() {{ "Value", "Val2" }}), 266new TaskItem("Valid12", new Dictionary<string, string>() {{ "Value", "" }}), 267new TaskItem("Valid3", new Dictionary<string, string>() {{ "Value", "has space" }}), 268new TaskItem("Valid4", new Dictionary<string, string>() {{ "Value", "has\"quotes\"" }}) 496new TaskItem("1501", new Dictionary<string, string>() {{ "Type", "udp" }}), 497new TaskItem("1501", new Dictionary<string, string>() {{ "Type", "tcp" }}), 498new TaskItem("1502", new Dictionary<string, string>() {{ "Type", "tcp" }}), 499new TaskItem("1503", new Dictionary<string, string>() {{ "Type", "" }})
Microsoft.NET.Build.Tasks (1)
GenerateSupportedTargetFrameworkAlias.cs (1)
52convertedTfms.Add(new TaskItem(targetFrameworkAlias, new Dictionary<string, string>() { { "DisplayName", displayName } }));
Microsoft.NET.Build.Tasks.UnitTests (2)
GivenAResolveRuntimePackAssetsTask.cs (1)
31new TaskItem("TestRuntimePack",
GivenThatWeWantToGenerateSupportedTargetFrameworkAlias.cs (1)
97Func<List<(string, string)>, ITaskItem[]> convertToItems = (List<(string, string)> list) => list.Select(item => new TaskItem(item.Item1, new Dictionary<string, string>() { { "DisplayName", item.Item2 } })).ToArray();
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
BrotliCompress.cs (1)
90var outputItem = new TaskItem(outputRelativePath, file.CloneCustomMetadata());
GZipCompress.cs (1)
39var outputItem = new TaskItem(outputRelativePath, file.CloneCustomMetadata());
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (2)
BlazorReadSatelliteAssemblyFileTest.cs (2)
24new TaskItem("Resources.fr.wasm", new Dictionary<string, string> 29new TaskItem("Resources.ja-jp.wasm", new Dictionary<string, string>
Microsoft.NET.Sdk.Publish.Tasks.Tests (9)
AppSettingsTransformTests.cs (3)
81private static readonly ITaskItem DefaultConnectionTaskItem = new TaskItem("DefaultConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=defaultDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 82private static readonly ITaskItem CarConnectionTaskItem = new TaskItem("CarConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=CarDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 83private static readonly ITaskItem PersonConnectionTaskItem = new TaskItem("PersonConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=PersonDb;Trusted_Connection=True;MultipleActiveResultSets=true" } });
Tasks\GenerateEFSQLScriptsTests.cs (3)
11private static readonly ITaskItem DefaultContext = new TaskItem("DefaultContext", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=defaultDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 12private static readonly ITaskItem CarContext = new TaskItem("CarContext", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=CarDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 13private static readonly ITaskItem PersonContext = new TaskItem("PersonContext", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=PersonDb;Trusted_Connection=True;MultipleActiveResultSets=true" } });
Tasks\TransformAppSettingsTests.cs (3)
15private static readonly ITaskItem DefaultConnectionTaskItem = new TaskItem("DefaultConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=defaultDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 16private static readonly ITaskItem CarConnectionTaskItem = new TaskItem("CarConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=CarDB;Trusted_Connection=True;MultipleActiveResultSets=true" } }); 17private static readonly ITaskItem PersonConnectionTaskItem = new TaskItem("PersonConnection", new Dictionary<string, string>() { { "Value", @"Server=(localdb)\mssqllocaldb; Database=PersonDb;Trusted_Connection=True;MultipleActiveResultSets=true" } });
Microsoft.NET.Sdk.StaticWebAssets.Tasks (4)
CollectStaticWebAssetsToCopy.cs (1)
70copyToOutputFolder.Add(new TaskItem(source, new Dictionary<string, string>
DefineStaticWebAssets.Cache.cs (1)
272internal ITaskItem ToTaskItem() => new TaskItem(Identity, new Dictionary<string, string> { ["TargetPath"] = TargetPath });
MergeConfigurationProperties.cs (1)
43var entry = new TaskItem(configuration.ItemSpec, new Dictionary<string, string>
OverrideHtmlAssetPlaceholders.cs (1)
99var newItem = new TaskItem(outputPath, item.CloneCustomMetadata());
Microsoft.NET.Sdk.StaticWebAssets.Tests (82)
StaticWebAssets\ApplyCssScopesTest.cs (30)
27new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 28new TaskItem("TestFiles/Pages/Counter.razor.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 56new TaskItem("TestFiles/Pages/Index.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 57new TaskItem("TestFiles/Pages/Counter.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 86new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 87new TaskItem("TestFiles/Pages/Counter.razor.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }) 115new TaskItem("TestFiles/Pages/Index.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 116new TaskItem("TestFiles/Pages/Counter.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }) 143new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 144new TaskItem("TestFiles/Pages/Counter.razor.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 145new TaskItem("TestFiles/Pages/Profile.razor.css", new Dictionary<string, string> { ["CssScope"] = "profile-scope" }), 171new TaskItem("TestFiles/Pages/Index.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 172new TaskItem("TestFiles/Pages/Counter.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 173new TaskItem("TestFiles/Pages/Profile.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "profile-scope" }), 198new TaskItem("TestFiles/Pages/Profile.razor.css", new Dictionary<string, string> 227new TaskItem("TestFiles/Pages/Profile.cshtml.css", new Dictionary<string, string> 257new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 258new TaskItem("TestFiles/Pages/Counter.razor.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 259new TaskItem("TestFiles/Pages/Profile.razor.css", new Dictionary<string, string> 289new TaskItem("TestFiles/Pages/Index.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 290new TaskItem("TestFiles/Pages/Counter.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 291new TaskItem("TestFiles/Pages/Profile.cshtml.css", new Dictionary<string, string> 325new TaskItem("TestFiles/Pages/Home.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "home-scope" }), 326new TaskItem("TestFiles/Pages/_Host.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "_host-scope" }), 327new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 328new TaskItem("TestFiles/Pages/Counter.razor.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }), 364new TaskItem("TestFiles/Pages/Home.razor.css", new Dictionary<string, string> { ["CssScope"] = "home-scope" }), 365new TaskItem("TestFiles/Pages/_Host.razor.css", new Dictionary<string, string> { ["CssScope"] = "_host-scope" }), 366new TaskItem("TestFiles/Pages/Index.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "index-scope" }), 367new TaskItem("TestFiles/Pages/Counter.cshtml.css", new Dictionary<string, string> { ["CssScope"] = "counter-scope" }),
StaticWebAssets\ComputeCssScopesTests.cs (1)
121new TaskItem("TestFiles/Pages/Index.razor.css", new Dictionary<string,string>{ ["CssScope"] = "b-predefined" }), },
StaticWebAssets\ConcatenateFilesTest.cs (1)
110new TaskItem(
StaticWebAssets\DefineStaticWebAssetEndpointsTest.cs (4)
394new TaskItem( 447new TaskItem( 499new TaskItem( 630return new TaskItem(contentType, new Dictionary<string, string>
StaticWebAssets\DiscoverDefaultScopedCssItemsTests.cs (1)
89new TaskItem("TestFiles/Pages/Profile.cshtml.css", new Dictionary<string,string>{ ["Scoped"] = "false" }),
StaticWebAssets\DiscoverStaticWebAssetsTest.cs (10)
92task.FingerprintPatterns = [new TaskItem("CssFile", new Dictionary<string, string> { ["Pattern"] = "*.css", ["Expression"] = expression })]; 187FingerprintPatterns = [new TaskItem("JsModule", new Dictionary<string, string> { ["Pattern"] = "*.lib.module.js", ["Expression"] = expression })], 248new TaskItem(assetFullPath, new Dictionary<string, string> 254FingerprintPatterns = [ new TaskItem("Js", new Dictionary<string,string>{{"Pattern","*.js"},{"Expression","#[.{fingerprint}]!"}})], 770new TaskItem(Path.Combine(debugDir, "Microsoft.AspNetCore.Components.CustomElements.lib.module.js"), 772new TaskItem(Path.Combine(debugDir, "Microsoft.AspNetCore.Components.CustomElements.lib.module.js.map"), 810new TaskItem(Path.Combine("wwwroot", "Microsoft.AspNetCore.Components.CustomElements.lib.module.js"), 812new TaskItem(Path.Combine("wwwroot", "Microsoft.AspNetCore.Components.CustomElements.lib.module.js.map"), 849new TaskItem("/home/user/work/Repo/Project/Components/Dropdown/Dropdown.razor.js", 910return new TaskItem(itemSpec, new Dictionary<string, string>
StaticWebAssets\FilterStaticWebAssetEndpointsTest.cs (7)
76new TaskItem("Property", new Dictionary<string,string>{ 112new TaskItem("Header", new Dictionary<string,string>{ 146new TaskItem("Standalone", new Dictionary<string,string>{ }) 182new TaskItem("Selector", new Dictionary<string,string>{ 219new TaskItem("Header", new Dictionary<string,string>{ 223new TaskItem("Property", new Dictionary<string,string>{ 263return new TaskItem(contentType, new Dictionary<string, string>
StaticWebAssets\FingerprintPatternMatcherTest.cs (1)
76[new TaskItem("ScopedCSS", new Dictionary<string, string> { ["Pattern"] = "*.bundle.scp.css", ["Expression"] = "#[.{fingerprint}]!" })])
StaticWebAssets\MergeConfigurationPropertiesTest.cs (2)
265return new TaskItem(Path.GetFullPath(project), new Dictionary<string, string> 287return new TaskItem(project, new Dictionary<string, string>
StaticWebAssets\ResolveAllScopedCssAssetsTest.cs (8)
19new TaskItem("TestFiles/Pages/Counter.razor.rz.scp.css", new Dictionary<string,string> 23new TaskItem("site.css", new Dictionary<string,string> 47new TaskItem("TestFiles/Pages/Counter.razor.rz.scp.css", new Dictionary<string,string> 51new TaskItem("site.css", new Dictionary<string,string> 75new TaskItem("Folder/Project.bundle.scp.css", new Dictionary<string,string> 79new TaskItem("site.css", new Dictionary<string,string> 103new TaskItem("Folder/Project.styles.css", new Dictionary<string,string> 107new TaskItem("site.css", new Dictionary<string,string>
StaticWebAssets\ResolveCompressedAssetsTest.cs (6)
57var gzipExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata()); 58var brotliExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata()); 323var gzipExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata()); 324var brotliExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata()); 390var brotliExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata()); 455var gzipExplicitAsset = new TaskItem(asset.ItemSpec, asset.CloneCustomMetadata());
StaticWebAssets\ResolveFingerprintedStaticWebAssetEndpointsForAssetsTest.cs (1)
289return new TaskItem(contentType, new Dictionary<string, string>
StaticWebAssets\UpdateExternallyDefinedStaticWebAssetsTest.cs (8)
27new TaskItem( 46new TaskItem( 101new TaskItem( 120new TaskItem( 145new TaskItem( 187new TaskItem( 206new TaskItem( 229new TaskItem(
StaticWebAssets\UpdateStaticWebAssetEndpointsTest.cs (2)
297return new TaskItem(type, new Dictionary<string, string> 327return new TaskItem(contentType, new Dictionary<string, string>