csharp

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package csharp holds C#/.NET detectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EfcoreDetector

type EfcoreDetector struct{}

EfcoreDetector detects Entity Framework Core DbContexts, DbSet entities, and migration classes / CreateTable calls. Mirrors Java CSharpEfcoreDetector.

func NewEfcoreDetector

func NewEfcoreDetector() *EfcoreDetector

func (EfcoreDetector) DefaultConfidence

func (EfcoreDetector) DefaultConfidence() model.Confidence

func (EfcoreDetector) Detect

func (d EfcoreDetector) Detect(ctx *detector.Context) *detector.Result

func (EfcoreDetector) Name

func (EfcoreDetector) Name() string

func (EfcoreDetector) SupportedLanguages

func (EfcoreDetector) SupportedLanguages() []string

type MinimalApisDetector

type MinimalApisDetector struct{}

MinimalApisDetector detects ASP.NET Core Minimal API endpoints (.MapGet/.MapPost/...) plus Use/AddAuthentication/Authorization guards. Mirrors Java CSharpMinimalApisDetector.

func NewMinimalApisDetector

func NewMinimalApisDetector() *MinimalApisDetector

func (MinimalApisDetector) DefaultConfidence

func (MinimalApisDetector) DefaultConfidence() model.Confidence

func (MinimalApisDetector) Detect

func (MinimalApisDetector) Name

func (MinimalApisDetector) Name() string

func (MinimalApisDetector) SupportedLanguages

func (MinimalApisDetector) SupportedLanguages() []string

type StructuresDetector

type StructuresDetector struct{}

StructuresDetector detects C# namespaces, classes, interfaces, enums, using imports, and MVC controller endpoints (Route + HttpGet/Post/...). Mirrors Java CSharpStructuresDetector.

func NewStructuresDetector

func NewStructuresDetector() *StructuresDetector

func (StructuresDetector) DefaultConfidence

func (StructuresDetector) DefaultConfidence() model.Confidence

func (StructuresDetector) Detect

func (StructuresDetector) Name

func (StructuresDetector) Name() string

func (StructuresDetector) SupportedLanguages

func (StructuresDetector) SupportedLanguages() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL