Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/dotnet-detector.ts
.NET Detector
Methods
| Method | Signature | Returns |
|---|---|---|
detectControllers | detectControllers(entities: Entity[]) | DetectedDotNetController[] |
detectServices | detectServices(entities: Entity[]) | DetectedDotNetService[] |
getControllerSummary | getControllerSummary(controller: DetectedDotNetController) | string |
Where it refuses work
DotNetDetectorstops the work with an early return when/Service\.cs$/i.test(filePath).DotNetDetectorstops the work with an early return when/:\s*I\w+Service/.test(code).DotNetDetectorstops the work with an early return when/DbContext/.test(code) && /private\s+readonly/.test(code).DotNetDetectorstops the work with an early return whenrouteMatch.DotNetDetectorstops the work with an early return whencontrollerMatch.DotNetDetectorstops the work with an early return when!paramsStr.trim().
Was this page helpful?