1 write to KeyedServiceKey
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
159
KeyedServiceKey
= 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.ToDisplayString(EmitterConstants.DisplayFormat)}>({endpointParameter.
KeyedServiceKey
});" :
408
$"httpContext.RequestServices.GetRequiredKeyedService<{endpointParameter.Type.ToDisplayString(EmitterConstants.DisplayFormat)}>({endpointParameter.
KeyedServiceKey
})";
StaticRouteHandlerModel\EndpointParameter.cs (4)
595
other.
KeyedServiceKey
==
KeyedServiceKey
;
604
other.
KeyedServiceKey
==
KeyedServiceKey
;