class

Detector::CSharp::AspNetMvc

Inherits Detector < Reference < Object

Constants

CONTROLLER_BASE_INHERITANCE = /:\s*ControllerBase\b/
CONTROLLER_INHERITANCE = /:\s*Controller\b/

Instance methods

applicable?(filename : String) : Bool

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.

Source
check_routeconfig(filename : String, file_contents : String)
Source
detect(filename : String, file_contents : String) : Bool
Source
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.

Source
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.

Source