12 instantiations of IntMetadata
Microsoft.AspNetCore.Routing.Tests (12)
DefaultLinkParserTest.cs (12)
23
var endpoint = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id?}", displayName: "Test1", metadata: new object[] { new
IntMetadata
(1), });
44
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", displayName: "Test1", metadata: new object[] { new
IntMetadata
(1), });
45
var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", displayName: "Test2", metadata: new object[] { new
IntMetadata
(0), });
67
var endpoint0 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}", displayName: "Test1", metadata: new object[] { new
IntMetadata
(0), });
68
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", displayName: "Test2", metadata: new object[] { new
IntMetadata
(0), });
69
var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2}", displayName: "Test3", metadata: new object[] { new
IntMetadata
(0), });
91
var endpoint = EndpointFactory.CreateRouteEndpoint("{controller=Home}/{action=Index}/{id?}", metadata: new object[] { new
IntMetadata
(0), });
106
var endpoint0 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id:int}", metadata: new object[] { new
IntMetadata
(0), });
107
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id2:alpha}", metadata: new object[] { new
IntMetadata
(0), });
122
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new
IntMetadata
(1), });
141
var endpoint1 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new
IntMetadata
(1), });
147
var endpoint2 = EndpointFactory.CreateRouteEndpoint("{controller}/{action}/{id}", metadata: new object[] { new
IntMetadata
(1), });
1 reference to IntMetadata
Microsoft.AspNetCore.Routing.Tests (1)
DefaultLinkParserTest.cs (1)
174
return _dataSource.Endpoints.Where(e => e.Metadata.GetMetadata<
IntMetadata
>().Value == address);