37 references to EndpointMetadataCollection
Microsoft.AspNetCore.Cors.Test (1)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
92return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (12)
Logging\HttpUtilityExtensionsTests.cs (2)
44new EndpointMetadataCollection(metadata), 73new EndpointMetadataCollection(metadata),
Logging\IncomingHttpRouteUtilityTests.cs (10)
48new EndpointMetadataCollection(metadata), 86new EndpointMetadataCollection(metadata), 126new EndpointMetadataCollection(metadata), 168new EndpointMetadataCollection(metadata), 210new EndpointMetadataCollection(metadata), 257new EndpointMetadataCollection(metadata), 298new EndpointMetadataCollection(metadata), 346new EndpointMetadataCollection(metadata), 391new EndpointMetadataCollection(metadata), 429new EndpointMetadataCollection(metadata),
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\EndpointMetadataCollection.cs (1)
49: this((IEnumerable<object>)items)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
EndpointMetadataCollectionTests.cs (1)
14var metadata = new EndpointMetadataCollection(new List<object>
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingEndpointConventionBuilderTests.cs (1)
58return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
551return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\ActionSelectionTableTest.cs (1)
559metadata: new EndpointMetadataCollection(metadata),
Routing\EndpointRoutingUrlHelperTest.cs (1)
273new EndpointMetadataCollection(metadata),
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
PageLoaderMatcherPolicyTest.cs (1)
92new EndpointMetadataCollection(metadata),
Microsoft.AspNetCore.Mvc.Test (1)
Routing\ActionConstraintMatcherPolicyTest.cs (1)
481new EndpointMetadataCollection(metadata),
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiEndpointConventionBuilderExtensions.cs (1)
97var metadata = new EndpointMetadataCollection(routeEndpointBuilder.Metadata);
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestEndpointBuilder.cs (1)
18return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Routing (1)
RouteEndpointBuilder.cs (1)
114return new EndpointMetadataCollection(metadata);
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
EndpointRoutingBenchmarkBase.cs (1)
122new EndpointMetadataCollection(endpointMetadata),
Microsoft.AspNetCore.Routing.Tests (11)
EndpointFactory.cs (1)
35new EndpointMetadataCollection(metadata ?? Array.Empty<object>()),
EndpointRoutingMiddlewareTest.cs (3)
250c.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(metadata), "myapp")); 286c.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(metadata), "myapp")); 315c.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(metadata), "myapp"));
Matching\AcceptsMatcherPolicyTest.cs (1)
615new EndpointMetadataCollection(metadata),
Matching\HostMatcherPolicyIntegrationTestBase.cs (1)
423new EndpointMetadataCollection(metadata),
Matching\HostMatcherPolicyTest.cs (1)
275new EndpointMetadataCollection(metadata),
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (1)
405new EndpointMetadataCollection(metadata),
Matching\HttpMethodMatcherPolicyTest.cs (1)
405new EndpointMetadataCollection(metadata),
RouteValuesAddressSchemeTest.cs (1)
440metadataCollection = new EndpointMetadataCollection(metadata);
TestObjects\TestMatcherFactory.cs (1)
78var metadata = new EndpointMetadataCollection(metadataList);
StaticFilesAuth (1)
Startup.cs (1)
134new EndpointMetadataCollection(metadata),