Implemented interface member:
property
Services
Aspire.Hosting.IDistributedApplicationBuilder.Services
9 references to Services
Aspire.Hosting.Testing (9)
DistributedApplicationFactory.cs (5)
355var services = applicationBuilder.Services; 540var hostDescriptor = applicationBuilder.Services.Single(s => s.ServiceType == typeof(IHost) && s.ServiceKey is null); 541applicationBuilder.Services.Remove(hostDescriptor); 551applicationBuilder.Services.Add(interceptedDescriptor); 554applicationBuilder.Services.AddSingleton<IHost>(sp => new ObservedHost(sp.GetRequiredKeyedService<IHost>(this), this));
DistributedApplicationTestingBuilder.cs (4)
520public IServiceCollection Services => innerBuilder.Services; 647builder.Services.AddHttpClient(); 648builder.Services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler()); 685public IServiceCollection Services => _innerBuilder.Services;