2 references to ServiceKey
Microsoft.AspNetCore.Components.Tests (2)
DependencyInjectionTest.cs (2)
121
_serviceProvider.AddKeyedService<IMyService>(serviceInstance, HasManyInjectableProperties.
ServiceKey
);
214
[Inject(Key =
ServiceKey
)] public IMyService KeyedService { get; set; }