1 write to Endpoints
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
ComputeEndpointsForReferenceStaticWebAssets.cs (1)
71
Endpoints
= result;
10 references to Endpoints
Microsoft.NET.Sdk.StaticWebAssets.Tests (10)
StaticWebAssets\ComputeEndpointsForReferenceStaticWebAssetsTest.cs (10)
35
task.
Endpoints
.Should().ContainSingle();
36
task.
Endpoints
[0].ItemSpec.Should().Be("base/candidate.js");
37
task.
Endpoints
[0].GetMetadata("AssetFile").Should().Be(Path.GetFullPath(Path.Combine("wwwroot", "candidate.js")));
60
task.
Endpoints
.Should().ContainSingle();
61
task.
Endpoints
[0].ItemSpec.Should().Be("base/candidate.js");
62
task.
Endpoints
[0].GetMetadata("AssetFile").Should().Be(Path.GetFullPath(Path.Combine("wwwroot", "candidate.js")));
63
var properties = StaticWebAssetEndpointProperty.FromMetadataValue(task.
Endpoints
[0].GetMetadata("EndpointProperties"));
92
task.
Endpoints
.Where(e => e != null).Should().ContainSingle();
93
task.
Endpoints
[0].ItemSpec.Should().Be("base/candidate.js");
94
task.
Endpoints
[0].GetMetadata("AssetFile").Should().Be(Path.GetFullPath(Path.Combine("wwwroot", "candidate.js")));