Detector::CSharp::AspNetMvc
Constants
CONTROLLER_BASE_INHERITANCE = /:\s*ControllerBase\b/
CONTROLLER_INHERITANCE = /:\s*Controller\b/
Class methods
tech_name
The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.
Instance methods
check_routeconfig records every RouteConfig.cs path it
sees into CodeLocator for the analyzer to consume. Skipping
this detector after its first match would lose the
registration on subsequent files.
idempotent?
check_routeconfig records every RouteConfig.cs path it
sees into CodeLocator for the analyzer to consume. Skipping
this detector after its first match would lose the
registration on subsequent files.
set_name
check_routeconfig records every RouteConfig.cs path it
sees into CodeLocator for the analyzer to consume. Skipping
this detector after its first match would lose the
registration on subsequent files.