15 instantiations of EndpointMetadataCollection
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)
27public static readonly EndpointMetadataCollection Empty = new EndpointMetadataCollection(Array.Empty<object>());
Microsoft.AspNetCore.Mvc.Core (1)
Routing\InertEndpointBuilder.cs (1)
13return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Routing (1)
RouteEndpointBuilder.cs (1)
114return new EndpointMetadataCollection(metadata);
33 references to EndpointMetadataCollection
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\Views\EndpointModel.cs (1)
14public EndpointMetadataCollection? Metadata { get; set; }
Microsoft.AspNetCore.Http.Abstractions (14)
ProblemDetails\ProblemDetailsContext.cs (1)
23public EndpointMetadataCollection? AdditionalMetadata { get; init; }
Routing\Endpoint.cs (4)
19/// The endpoint <see cref="EndpointMetadataCollection"/>. May be null. 26EndpointMetadataCollection? metadata, 31Metadata = metadata ?? EndpointMetadataCollection.Empty; 43public EndpointMetadataCollection Metadata { get; }
Routing\EndpointMetadataCollection.cs (9)
16/// <see cref="EndpointMetadataCollection"/> instances contain a list of metadata items 25/// An empty <see cref="EndpointMetadataCollection"/>. 27public static readonly EndpointMetadataCollection Empty = new EndpointMetadataCollection(Array.Empty<object>()); 33/// Creates a new <see cref="EndpointMetadataCollection"/>. 45/// Creates a new <see cref="EndpointMetadataCollection"/>. 163/// Enumerates the elements of an <see cref="EndpointMetadataCollection"/>. 174internal Enumerator(EndpointMetadataCollection collection) 224private readonly EndpointMetadataCollection _collection; 226public EndpointMetadataCollectionDebugView(EndpointMetadataCollection collection)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (2)
324EndpointMetadataCollection endpointMetadata) 548EndpointMetadataCollection endpointMetadata)
Microsoft.AspNetCore.Mvc.RazorPages (8)
Infrastructure\DefaultPageLoader.cs (3)
36=> LoadAsync(actionDescriptor, EndpointMetadataCollection.Empty); 38public override Task<CompiledPageActionDescriptor> LoadAsync(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) 60private async Task<CompiledPageActionDescriptor> LoadAsyncCore(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
159var metadata = loadedEndpoints[j].Metadata;
Infrastructure\PageActionInvokerProvider.cs (1)
82page.CompiledPageDescriptor = _pageLoader.LoadAsync(page, EndpointMetadataCollection.Empty).GetAwaiter().GetResult();
Infrastructure\PageLoader.cs (3)
27/// <param name="endpointMetadata">The <see cref="EndpointMetadataCollection"/>.</param> 29public virtual Task<CompiledPageActionDescriptor> LoadAsync(PageActionDescriptor actionDescriptor, EndpointMetadataCollection endpointMetadata) 33=> LoadAsync(actionDescriptor, EndpointMetadataCollection.Empty).GetAwaiter().GetResult();
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
234var metadata = httpContext.GetEndpoint()?.Metadata;
Microsoft.AspNetCore.Routing (6)
Matching\AcceptsMatcherPolicy.cs (1)
256EndpointMetadataCollection.Empty,
Matching\HttpMethodMatcherPolicy.cs (1)
392EndpointMetadataCollection.Empty,
Matching\NegotiationMatcherPolicy.cs (1)
355EndpointMetadataCollection.Empty,
RouteEndpoint.cs (2)
21/// The <see cref="EndpointMetadataCollection"/> or metadata associated with the endpoint. 28EndpointMetadataCollection? metadata,
RouteEndpointBuilder.cs (1)
63private static EndpointMetadataCollection CreateMetadataCollection(IList<object> metadata, RoutePattern routePattern)
Microsoft.AspNetCore.Routing.Abstractions (1)
Properties\AssemblyInfo.cs (1)
12[assembly: TypeForwardedTo(typeof(EndpointMetadataCollection))]