Implemented interface member:
property
Services
Aspire.Hosting.IDistributedApplicationBuilder.Services
5 references to Services
Aspire.Hosting.Testing (5)
DistributedApplicationFactory.cs (5)
317
var services = applicationBuilder.
Services
;
479
var hostDescriptor = applicationBuilder.
Services
.Single(s => s.ServiceType == typeof(IHost) && s.ServiceKey is null);
480
applicationBuilder.
Services
.Remove(hostDescriptor);
490
applicationBuilder.
Services
.Add(interceptedDescriptor);
493
applicationBuilder.
Services
.AddSingleton<IHost>(sp => new ObservedHost(sp.GetRequiredKeyedService<IHost>(this), this));