4 writes to Key
Microsoft.AspNetCore.Components.Tests (4)
ComponentFactoryTest.cs (2)
514[Inject(Key = KeyedServiceKey)] 587[Inject(Key = KeyedServiceKey)]
DependencyInjectionTest.cs (2)
193[Inject(Key = ServiceKey)] public IMyService MyService { get; set; } 214[Inject(Key = ServiceKey)] public IMyService KeyedService { get; set; }
1 reference to Key
Microsoft.AspNetCore.Components (1)
DefaultComponentPropertyActivator.cs (1)
61injectables.Add((property.Name, property.PropertyType, new PropertySetter(type, property), injectAttribute.Key));