2 implementations of AppHostAssembly
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
70
public Assembly?
AppHostAssembly
=> _options.Assembly;
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
124
public Assembly?
AppHostAssembly
=> _innerBuilder.AppHostAssembly;
4 references to AppHostAssembly
Aspire.Hosting (4)
ParameterResourceBuilderExtensions.cs (4)
129
if (persist && builder.ExecutionContext.IsRunMode && builder.
AppHostAssembly
is not null)
131
value = new UserSecretsParameterDefault(builder.
AppHostAssembly
, builder.Environment.ApplicationName, name, value);
327
if (builder.ExecutionContext.IsRunMode && builder.
AppHostAssembly
is not null)
329
parameterResource.Default = new UserSecretsParameterDefault(builder.
AppHostAssembly
, builder.Environment.ApplicationName, name, parameterResource.Default);