1 write to KeyedServiceKey
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\EndpointParameter.cs (1)
160
KeyedServiceKey
= SymbolDisplay.FormatPrimitive(constructorArgument.Value!, true, true);
5 references to KeyedServiceKey
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
StaticRouteHandlerModel\Emitters\EndpointParameterEmitter.cs (2)
410
$"httpContext.RequestServices.GetKeyedService<{endpointParameter.Type.ToDisplayString(EmitterConstants.DisplayFormat)}>({endpointParameter.
KeyedServiceKey
});" :
411
$"httpContext.RequestServices.GetRequiredKeyedService<{endpointParameter.Type.ToDisplayString(EmitterConstants.DisplayFormat)}>({endpointParameter.
KeyedServiceKey
})";
StaticRouteHandlerModel\EndpointParameter.cs (3)
603
other.
KeyedServiceKey
==
KeyedServiceKey
;
614
hashCode.Add(
KeyedServiceKey
);