Analyzer::CSharp::FastEndpoints
Inherits Analyzer::CSharp::Common < Analyzer < FileHelper < Reference < Object
Constants
A public auto-property's accessor list ({ get; set; }).
Endpoint<TRequest>, Endpoint<TRequest, TResponse>,
EndpointWithoutRequest, EndpointWithoutRequest<TResponse>,
and the Ep short alias all subclass the FastEndpoints
endpoint primitive. Any class matching one of these as a
base is a candidate.
Whole-file gate. One JIT-compiled union beats the two String#includes?
scans it replaces, and it also refuses files that merely mention the word
"Endpoint" without declaring a FastEndpoints class.
How a request DTO's property attribute binds it ("": by the verb's
default); service is never request input.
sealed class Admin : Group { public Admin() { Configure("admin", ...); } }
and the nested class Sub : SubGroup<Admin>.
app.UseFastEndpoints(c => c.Endpoints.RoutePrefix = "api").
Post("/a", "/b") registers every literal, not just the first.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.