1 write to Assets
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
Data\StaticAssetsManifest.cs (1)
34Assets = assets,
42 references to Assets
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (13)
AspNetSdkBaselineTest.cs (5)
116var computedFiles = manifest.Assets 125var copyToOutputDirectoryAssets = manifest.Assets.Where(a => a.ShouldCopyToOutputDirectory()).ToArray(); 126var temporaryAsssets = manifest.Assets 224var computedFiles = manifest.Assets 231var copyToPublishDirectoryFiles = manifest.Assets
StaticWebAssetsBaselineComparer.cs (5)
45var actualAssets = actual.Assets 52var duplicateAssets = actual.Assets 60var expectedAssets = expected.Assets 67var actualAssetsByIdentity = actual.Assets.GroupBy(a => a.Identity).ToDictionary(a => a.Key, a => a.Order().ToArray()); 68foreach (var asset in actual.Assets)
StaticWebAssetsBaselineFactory.cs (3)
78var assetsByIdentity = manifest.Assets.ToDictionary(a => a.Identity); 80foreach (var asset in manifest.Assets) 205Array.Sort(manifest.Assets);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
Data\StaticAssetsManifest.cs (4)
52JsonSerializer.Serialize(writer, Assets); 135&& EqualityComparer<StaticWebAsset[]>.Default.Equals(Assets, other.Assets) 150hash.Add(Assets);
ReadStaticWebAssetsManifestFile.cs (1)
39Assets = manifest.Assets?.Select(a => a.ToTaskItem()).ToArray() ?? [];
Microsoft.NET.Sdk.StaticWebAssets.Tests (24)
AspNetSdkBaselineTest.cs (5)
116var computedFiles = manifest.Assets 125var copyToOutputDirectoryAssets = manifest.Assets.Where(a => a.ShouldCopyToOutputDirectory()).ToArray(); 126var temporaryAsssets = manifest.Assets 224var computedFiles = manifest.Assets 231var copyToPublishDirectoryFiles = manifest.Assets
JsModulesIntegrationTest.cs (1)
312var initializers = buildManifest.Assets.Where(a => a.RelativePath == "AnotherClassLib.lib.module.js");
StaticWebAssetEndpointsIntegrationTest.cs (3)
337var publishAsset = publishManifest.Assets.Where(a => a.Identity == unCompressedAssetEndpoint.Single().AssetFile); 345var publishGzAsset = publishManifest.Assets.Where(a => a.Identity == appGzAssetEndpoint.Single().AssetFile); 354var publishBrAsset = publishManifest.Assets.Where(a => a.Identity == appBrAssetEndpoint.Single().AssetFile);
StaticWebAssets\GenerateStaticWebAssetsManifestTest.cs (3)
54manifest.Assets.Should().BeNullOrEmpty(); 102manifest.Assets.Should().HaveCount(1); 103var newAsset = manifest.Assets[0];
StaticWebAssetsBaselineComparer.cs (5)
45var actualAssets = actual.Assets 52var duplicateAssets = actual.Assets 60var expectedAssets = expected.Assets 67var actualAssetsByIdentity = actual.Assets.GroupBy(a => a.Identity).ToDictionary(a => a.Key, a => a.Order().ToArray()); 68foreach (var asset in actual.Assets)
StaticWebAssetsBaselineFactory.cs (3)
78var assetsByIdentity = manifest.Assets.ToDictionary(a => a.Identity); 80foreach (var asset in manifest.Assets) 205Array.Sort(manifest.Assets);
StaticWebAssetsCompressionIntegrationTest.cs (4)
64var gzipAsset = manifest2.Assets.Single(a => string.Equals(a.Identity, gzipFile, StringComparison.Ordinal)); 65var brotliAsset = manifest2.Assets.Single(a => string.Equals(a.Identity, brotliFile, StringComparison.Ordinal)); 176var gzipAsset = manifest2.Assets.Single(a => string.Equals(a.Identity, gzipFile, StringComparison.Ordinal)); 177var brotliAsset = manifest2.Assets.Single(a => string.Equals(a.Identity, brotliFile, StringComparison.Ordinal));