7 references to AddService
Microsoft.AspNetCore.Components.Tests (7)
DependencyInjectionTest.cs (6)
88_serviceProvider.AddService<IMyService>(serviceInstance); 118_serviceProvider.AddService<IMyService>(serviceInstance); 119_serviceProvider.AddService<IMyOtherService>(otherServiceInstance); 120_serviceProvider.AddService(concreteServiceInstance); 140_serviceProvider.AddService<IMyService>(serviceInstance); 154_serviceProvider.AddService<IMyService>(serviceInstance);
RendererTest.cs (1)
4513serviceProvider.AddService<IComponentActivator>(componentActivator);