문제

I am trying to throw together a documentation site for a set of web services built with monorail and am wondering if there is a way to get a list of routes registered in RoutingModuleEx.Engine?

도움이 되었습니까?

해결책

I don't see any direct way to do that. The simplest way would be duplicating the added routes to a local list, which you can manage as you please. The other way would be accessing RoutingModuleEx.Engine's private list of routes via reflection (collections are named rules and name2Rule, see source)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top