CodeQL library for C#
codeql/csharp-all 7.4.2 (changelog, source)
Search

Predicate isMicrosoftAspNetCoreMvcRegistration

Holds if the method call is a registration of an ASP.NET Core MVC service.

Import path

import semmle.code.csharp.frameworks.microsoft.AspNetCore
predicate isMicrosoftAspNetCoreMvcRegistration(MethodCall call)