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