17 instantiations of SuppressLinkGenerationMetadata
Microsoft.AspNetCore.Components.Endpoints (1)
Builder\RazorComponentEndpointFactory.cs (1)
48builder.Metadata.Add(new SuppressLinkGenerationMetadata());
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
438builder.Metadata.Add(new SuppressLinkGenerationMetadata());
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\EndpointRoutingUrlHelperTest.cs (1)
106metadata: new[] { new SuppressLinkGenerationMetadata() });
Microsoft.AspNetCore.Routing.Tests (14)
EndpointNameAddressSchemeTest.cs (4)
40metadata: new object[] { new EndpointNameMetadata("name1"), new SuppressLinkGenerationMetadata(), }); 57metadata: new object[] { new EndpointNameMetadata("name1"), new SuppressLinkGenerationMetadata(), }); 111metadata: new object[] { new EndpointNameMetadata("name1"), new SuppressLinkGenerationMetadata(), }); 126metadata: new object[] { new EndpointNameMetadata("name1"), new SuppressLinkGenerationMetadata(), new EncourageLinkGenerationMetadata(), });
LinkGeneratorIntegrationTest.cs (7)
63metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 73metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 83metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 103metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 113metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 162metadata: new object[] { new SuppressLinkGenerationMetadata(), }), 199metadata: new object[] { new SuppressLinkGenerationMetadata(), }),
MetadataTest.cs (1)
81var metadata = new SuppressLinkGenerationMetadata();
RouteValuesAddressSchemeTest.cs (2)
389metadataCollection: new EndpointMetadataCollection(new[] { new SuppressLinkGenerationMetadata() })); 405metadata: new object[] { new SuppressLinkGenerationMetadata(), new EncourageLinkGenerationMetadata(), new RouteNameMetadata("a"), });
3 references to SuppressLinkGenerationMetadata
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
RazorComponentEndpointFactoryTest.cs (1)
41Assert.Contains(endpoint.Metadata, m => m is SuppressLinkGenerationMetadata);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\EndpointMetadataProviderTest.cs (1)
127m => Assert.True(m is SuppressLinkGenerationMetadata),
Microsoft.AspNetCore.Routing.Tests (1)
MetadataTest.cs (1)
81var metadata = new SuppressLinkGenerationMetadata();