C# Класс Sage.DevTools.Controllers.RouteDebuggerController

Implements a controller that enables testing of route matching.
Наследование: Sage.Controllers.SageController
Показать файл Открыть проект

Открытые методы

Метод Описание
Index ( string url, string httpMethod ) : string

Tests the specified URL against all configured routes and displays a view that shows the results as an HTML table.

Приватные методы

Метод Описание
FormatOptions ( string selected, string values ) : string
FormatRow ( bool hilite ) : string
FormatValues ( RouteValueDictionary values ) : string
GetRoutesText ( HttpContextMock fakeContext ) : string
MakeAppRelative ( string url ) : string

Описание методов

Index() публичный Метод

Tests the specified URL against all configured routes and displays a view that shows the results as an HTML table.
public Index ( string url, string httpMethod ) : string
url string The URL to test
httpMethod string The HTTP request method to test with.
Результат string