3 references to ServiceKey
Microsoft.AspNetCore.Components.Tests (3)
DependencyInjectionTest.cs (3)
80$"of type '{typeof(IMyService).FullName}' with key '{HasKeyedInjectableProperty.ServiceKey}'.", ex.Message); 102_serviceProvider.AddKeyedService<IMyService>(serviceInstance, HasKeyedInjectableProperty.ServiceKey); 193[Inject(Key = ServiceKey)] public IMyService MyService { get; set; }