8 writes to ContentRootIndex
Aspire.Hosting.Blazor (1)
Manifests\DevelopmentManifest.cs (1)
42Asset.ContentRootIndex += offset;
Aspire.Hosting.Blazor.Tests (7)
EndpointsManifestTransformerTests.cs (7)
146Asset = new AssetMatch { ContentRootIndex = 0 } 167Asset = new AssetMatch { ContentRootIndex = 0 } 221["file1"] = new AssetNode { Asset = new AssetMatch { ContentRootIndex = 0 } }, 222["file2"] = new AssetNode { Asset = new AssetMatch { ContentRootIndex = 1 } } 234["file3"] = new AssetNode { Asset = new AssetMatch { ContentRootIndex = 0 } } 273Asset = new AssetMatch { ContentRootIndex = 0 }, 279Asset = new AssetMatch { ContentRootIndex = 2 }
3 references to ContentRootIndex
Aspire.Hosting.Blazor.Tests (3)
EndpointsManifestTransformerTests.cs (3)
265Assert.Equal(2, adminChildren["file3"].Asset!.ContentRootIndex); // 0 + offset of 2 286Assert.Equal(5, node.Asset.ContentRootIndex); 288Assert.Equal(7, node.Children["child"].Asset!.ContentRootIndex);