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());
115
public ConfigurationManager Configuration =>
_innerBuilder
.Configuration;
117
public string AppHostDirectory =>
_innerBuilder
.AppHostDirectory;
119
public Assembly? AppHostAssembly =>
_innerBuilder
.AppHostAssembly;
121
public IHostEnvironment Environment =>
_innerBuilder
.Environment;
123
public IServiceCollection Services =>
_innerBuilder
.Services;
125
public DistributedApplicationExecutionContext ExecutionContext =>
_innerBuilder
.ExecutionContext;
127
public IResourceCollection Resources =>
_innerBuilder
.Resources;
129
public IDistributedApplicationEventing Eventing =>
_innerBuilder
.Eventing;
131
public IResourceBuilder<T> AddResource<T>(T resource) where T : IResource =>
_innerBuilder
.AddResource(resource);
134
public DistributedApplication Build() => _app =
_innerBuilder
.Build();
140
return
_innerBuilder
.CreateResourceBuilder(resource);