1 write to _innerBuilder
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
72
_innerBuilder
= BuilderInterceptor.CreateBuilder(Configure);
15 references to _innerBuilder
Aspire.Hosting.Tests (15)
Utils\TestDistributedApplicationBuilder.cs (15)
74
_innerBuilder
.Services.Configure<DashboardOptions>(o =>
81
_innerBuilder
.Services.AddSingleton<ApplicationExecutorProxy>(sp => new ApplicationExecutorProxy(sp.GetRequiredService<ApplicationExecutor>()));
83
_innerBuilder
.Services.AddHttpClient();
84
_innerBuilder
.Services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler());
120
public ConfigurationManager Configuration =>
_innerBuilder
.Configuration;
122
public string AppHostDirectory =>
_innerBuilder
.AppHostDirectory;
124
public Assembly? AppHostAssembly =>
_innerBuilder
.AppHostAssembly;
126
public IHostEnvironment Environment =>
_innerBuilder
.Environment;
128
public IServiceCollection Services =>
_innerBuilder
.Services;
130
public DistributedApplicationExecutionContext ExecutionContext =>
_innerBuilder
.ExecutionContext;
132
public IResourceCollection Resources =>
_innerBuilder
.Resources;
134
public IDistributedApplicationEventing Eventing =>
_innerBuilder
.Eventing;
136
public IResourceBuilder<T> AddResource<T>(T resource) where T : IResource =>
_innerBuilder
.AddResource(resource);
139
public DistributedApplication Build() => _app =
_innerBuilder
.Build();
145
return
_innerBuilder
.CreateResourceBuilder(resource);