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