private ComponentType determineComponentType()

in doc-architect/doc-architect-core/src/main/java/com/docarchitect/core/scanner/impl/dotnet/SolutionFileScanner.java [199:224]


    private ComponentType determineComponentType(String projectPath) {
        String lowerPath = projectPath.toLowerCase();

        // Web projects
        if (lowerPath.contains("web") || lowerPath.contains("api") || lowerPath.contains("mvc")) {
            return ComponentType.SERVICE;
        }

        // Test projects
        if (lowerPath.contains("test") || lowerPath.contains("tests")) {
            return ComponentType.MODULE;
        }

        // Infrastructure/data access
        if (lowerPath.contains("infrastructure") || lowerPath.contains("data") || lowerPath.contains("persistence")) {
            return ComponentType.MODULE;
        }

        // Core/domain
        if (lowerPath.contains("core") || lowerPath.contains("domain")) {
            return ComponentType.MODULE;
        }

        // Default to library
        return ComponentType.LIBRARY;
    }