48 references to EndpointNameMetadata
Microsoft.AspNetCore.Identity (1)
IdentityApiEndpointRouteBuilderExtensions.cs (1)
190
endpointBuilder.Metadata.Add(new
EndpointNameMetadata
(confirmEmailEndpointName));
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionEndpointFactory.cs (2)
240
builder.Metadata.Add(new
EndpointNameMetadata
(route.RouteName));
390
builder.Metadata.Add(new
EndpointNameMetadata
(routeName));
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\ControllerActionEndpointDataSourceTest.cs (1)
251
b.Metadata.Add(new
EndpointNameMetadata
("NewName"));
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
558
new
EndpointNameMetadata
(endpointGroupName)
Microsoft.AspNetCore.Routing (1)
Builder\RoutingEndpointConventionBuilderExtensions.cs (1)
110
builder.WithMetadata(new
EndpointNameMetadata
(endpointName), new RouteNameMetadata(endpointName));
Microsoft.AspNetCore.Routing.Tests (42)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (2)
437
var endpointBuilder = map(builder, "/", context => Task.CompletedTask).WithMetadata(new
EndpointNameMetadata
("MapMe"));
460
var endpointBuilder = map(builder, "/", context => Task.CompletedTask).WithMetadata(new
EndpointNameMetadata
("MapMe"));
CompositeEndpointDataSourceTest.cs (4)
290
var metadata = new
EndpointNameMetadata
("name");
330
var metadata = new
EndpointNameMetadata
("name");
382
var metadata = new
EndpointNameMetadata
("name");
441
var metadata = new
EndpointNameMetadata
("name");
EndpointNameAddressSchemeTest.cs (14)
17
metadata: new object[] { new
EndpointNameMetadata
("name1"), });
21
metadata: new object[] { new
EndpointNameMetadata
("name2"), });
40
metadata: new object[] { new
EndpointNameMetadata
("name1"), new SuppressLinkGenerationMetadata(), });
57
metadata: new object[] { new
EndpointNameMetadata
("name1"), new SuppressLinkGenerationMetadata(), });
73
metadata: new object[] { new
EndpointNameMetadata
("name1"), });
86
metadata: new object[] { new
EndpointNameMetadata
("name2"), });
111
metadata: new object[] { new
EndpointNameMetadata
("name1"), new SuppressLinkGenerationMetadata(), });
126
metadata: new object[] { new
EndpointNameMetadata
("name1"), new SuppressLinkGenerationMetadata(), new EncourageLinkGenerationMetadata(), });
156
EndpointFactory.CreateRouteEndpoint("/a", displayName: "a", metadata: new object[] { new
EndpointNameMetadata
("name1"), }),
157
EndpointFactory.CreateRouteEndpoint("/b", displayName: "b", metadata: new object[] { new
EndpointNameMetadata
("name1"), }),
158
EndpointFactory.CreateRouteEndpoint("/c", displayName: "c", metadata: new object[] { new
EndpointNameMetadata
("name1"), }),
161
EndpointFactory.CreateRouteEndpoint("/d", displayName: "d", metadata: new object[] { new
EndpointNameMetadata
("NAME1"), }),
163
EndpointFactory.CreateRouteEndpoint("/e", displayName: "e", metadata: new object[] { new
EndpointNameMetadata
("name2"), }),
164
EndpointFactory.CreateRouteEndpoint("/f", displayName: "f", metadata: new object[] { new
EndpointNameMetadata
("name2"), }),
LinkGeneratorEndpointNameExtensionsTest.cs (10)
21
var endpoint1 = EndpointFactory.CreateRouteEndpoint("some-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name1"), });
22
var endpoint2 = EndpointFactory.CreateRouteEndpoint("some#-other-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name2"), });
48
var endpoint1 = EndpointFactory.CreateRouteEndpoint("some-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name1"), });
49
var endpoint2 = EndpointFactory.CreateRouteEndpoint("some#-other-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name2"), });
71
var endpoint1 = EndpointFactory.CreateRouteEndpoint("some-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name1"), });
72
var endpoint2 = EndpointFactory.CreateRouteEndpoint("some#-other-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name2"), });
97
var endpoint1 = EndpointFactory.CreateRouteEndpoint("some-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name1"), });
98
var endpoint2 = EndpointFactory.CreateRouteEndpoint("some#-other-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name2"), });
122
var endpoint1 = EndpointFactory.CreateRouteEndpoint("some-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name1"), });
123
var endpoint2 = EndpointFactory.CreateRouteEndpoint("some#-other-endpoint/{p}", metadata: new[] { new
EndpointNameMetadata
("name2"), });
LinkParserEndpointNameExtensionsTest.cs (4)
14
var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id?}", metadata: new object[] { new
EndpointNameMetadata
("Test2"), });
29
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new
EndpointNameMetadata
("Test2"), });
30
var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", metadata: new object[] { new
EndpointNameMetadata
("Test"), });
45
var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new
EndpointNameMetadata
("Test"), });
Matching\DataSourceDependentMatcherTest.cs (7)
151
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
158
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
179
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
186
new EndpointMetadataCollection(new
EndpointNameMetadata
("Bar")),
194
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
217
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
230
new EndpointMetadataCollection(new
EndpointNameMetadata
("Foo")),
MetadataTest.cs (1)
29
var metadata = new
EndpointNameMetadata
("Name");