Implemented interface member:
property
Services
Aspire.Hosting.IDistributedApplicationBuilder.Services
9 references to Services
Aspire.Hosting.Testing (9)
DistributedApplicationFactory.cs (5)
373var services = applicationBuilder.Services; 558var hostDescriptor = applicationBuilder.Services.Single(s => s.ServiceType == typeof(IHost) && s.ServiceKey is null); 559applicationBuilder.Services.Remove(hostDescriptor); 569applicationBuilder.Services.Add(interceptedDescriptor); 572applicationBuilder.Services.AddSingleton<IHost>(sp => new ObservedHost(sp.GetRequiredKeyedService<IHost>(this), this));
DistributedApplicationTestingBuilder.cs (4)
213public IServiceCollection Services => innerBuilder.Services; 312builder.Services.AddHttpClient(); 313builder.Services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler()); 350public IServiceCollection Services => _innerBuilder.Services;