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