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 (d MinimalApisDetector) Detect(ctx *detector.Context) *detector.Result
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 (d StructuresDetector) Detect(ctx *detector.Context) *detector.Result
func (StructuresDetector) Name ¶
func (StructuresDetector) Name() string
func (StructuresDetector) SupportedLanguages ¶
func (StructuresDetector) SupportedLanguages() []string
Click to show internal directories.
Click to hide internal directories.