1 write to _innerBuilder
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
71_innerBuilder = BuilderInterceptor.CreateBuilder(Configure);
15 references to _innerBuilder
Aspire.Hosting.Tests (15)
Utils\TestDistributedApplicationBuilder.cs (15)
73_innerBuilder.Services.Configure<DashboardOptions>(o => 80_innerBuilder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>())); 82_innerBuilder.Services.AddHttpClient(); 83_innerBuilder.Services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler()); 115public ConfigurationManager Configuration => _innerBuilder.Configuration; 117public string AppHostDirectory => _innerBuilder.AppHostDirectory; 119public Assembly? AppHostAssembly => _innerBuilder.AppHostAssembly; 121public IHostEnvironment Environment => _innerBuilder.Environment; 123public IServiceCollection Services => _innerBuilder.Services; 125public DistributedApplicationExecutionContext ExecutionContext => _innerBuilder.ExecutionContext; 127public IResourceCollection Resources => _innerBuilder.Resources; 129public IDistributedApplicationEventing Eventing => _innerBuilder.Eventing; 131public IResourceBuilder<T> AddResource<T>(T resource) where T : IResource => _innerBuilder.AddResource(resource); 134public DistributedApplication Build() => _app = _innerBuilder.Build(); 140return _innerBuilder.CreateResourceBuilder(resource);