2 writes to ServiceKey
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\BindingInfo.cs (2)
39
ServiceKey
= other.ServiceKey;
189
bindingInfo.
ServiceKey
= fromKeyedServicesAttribute.Key;
4 references to ServiceKey
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingInfo.cs (1)
39
ServiceKey = other.
ServiceKey
;
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\BindingInfoTest.cs (1)
310
Assert.Same(key, bindingInfo.
ServiceKey
);
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\ServicesModelBinderProvider.cs (2)
34
if (context.BindingInfo.
ServiceKey
!= null)
36
return new KeyedServicesModelBinder(context.BindingInfo.
ServiceKey
, !isRequired);