30 references to LinkFrom
Microsoft.AspNetCore.Mvc.FunctionalTests (30)
RoutingEndpointRoutingTest.cs (7)
121
var url =
LinkFrom
("http://localhost/endpoint-routing/ParameterTransformer").To(new { });
141
var url =
LinkFrom
("http://localhost/endpoint-routing/ParameterTransformer").To(new { action = "Get", id = 5 });
161
var url =
LinkFrom
("http://localhost/endpoint-routing/ParameterTransformer").To(new { action = "ShowPosts", controller = "Blog" });
181
var url =
LinkFrom
("http://localhost/endpoint-routing/ParameterTransformer").To(new { action = "Index", controller = "Home" });
318
var url =
LinkFrom
("http://localhost/ConventionalTransformerRoute/conventional-transformer/Index").To(new { action = "Index", controller = "Home" });
337
var url =
LinkFrom
("http://localhost/ConventionalTransformerRoute/conventional-transformer/Index").To(new { action = "Param", controller = "ConventionalTransformer", param = "MyValue" });
356
var url =
LinkFrom
("http://localhost/ConventionalTransformerRoute/conventional-transformer/Index").To(new { });
RoutingTestsBase.cs (23)
107
var url =
LinkFrom
("http://localhost/ContosoCorp/Trains")
128
var url =
LinkFrom
("http://localhost/Travel/Flight").To(new { action = "Contact", controller = "Home", });
980
var url =
LinkFrom
("http://localhost/api/Employee").To(new { });
1000
var url =
LinkFrom
("http://localhost/api/Employee").To(new { action = "Get", id = 5 });
1020
var url =
LinkFrom
("http://localhost/api/Employee").To(new { action = "ShowPosts", controller = "Blog" });
1040
var url =
LinkFrom
("http://localhost/api/Employee").To(new { action = "Index", controller = "Home" });
1103
var url =
LinkFrom
("http://localhost")
1143
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Optional")
1164
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Optional")
1185
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Default")
1207
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Default")
1229
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Default")
1251
var url =
LinkFrom
("http://localhost/DefaultValuesRoute/Default/DefaultValues/DefaultParameter/123")
1273
var url =
LinkFrom
("http://localhost/")
1294
var url =
LinkFrom
("http://localhost/Travel/Flight").To(new { action = "BuyTickets" });
1314
var url =
LinkFrom
("http://localhost/Travel/Flight")
1335
var url =
LinkFrom
("http://localhost/api/Employee")
1356
var url =
LinkFrom
("http://localhost/ContosoCorp/Trains/CheckSchedule").To(new { action = "Index" });
1376
var url =
LinkFrom
("http://localhost/ContosoCorp/Trains/CheckSchedule")
1397
var url =
LinkFrom
("http://localhost/ContosoCorp/Trains")
1418
var url =
LinkFrom
("http://localhost/Travel/Flight")
1439
var url =
LinkFrom
("http://localhost/Travel/Flight")
1460
var url =
LinkFrom
("http://localhost/ContosoCorp/Trains")