1 write to KeyedServiceKey
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
159KeyedServiceKey = SymbolDisplay.FormatPrimitive(constructorArgument.Value!, true, true);
6 references to KeyedServiceKey
Microsoft.AspNetCore.Http.RequestDelegateGenerator (6)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (2)
407$"httpContext.RequestServices.GetKeyedService<{endpointParameter.Type}>({endpointParameter.KeyedServiceKey});" : 408$"httpContext.RequestServices.GetRequiredKeyedService<{endpointParameter.Type}>({endpointParameter.KeyedServiceKey})";
StaticRouteHandlerModel\EndpointParameter.cs (4)
595other.KeyedServiceKey == KeyedServiceKey; 604other.KeyedServiceKey == KeyedServiceKey;