3 writes to Key
Microsoft.AspNetCore.Components.Tests (3)
ComponentFactoryTest.cs (1)
291
[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)
ComponentFactory.cs (1)
113
injectables.Add((property.Name, property.PropertyType, new PropertySetter(type, property), injectAttribute.
Key
));