extract all actions in a controller

[font=Consolas,]how can I extract all actions in a controller?[/font][font=Consolas,]I want to make admin page for RBAC and I want to extract all possible modules, controllers and actions available in my project[/font][font=Consolas,]we can find out module/controller by reading folder name and file name but how can I find all actions in a controller?[/font]

There is an older topic with a possible solution for your problem using reflection.

How dan I list conrtoller and actions?

There is also the metadata extension you can use or at least look at the code to find a solution.