3 writes to ExecutionContext
Aspire.Hosting (3)
ApplicationModel\ResourceExtensions.cs (1)
591
var task = ExpressionResolver.ResolveAsync(valueProvider, new ValueProviderContext() {
ExecutionContext
= executionContext, Caller = resource }, cancellationToken);
Pipelines\PipelineStepHelpers.cs (2)
66
var targetTag = await cir.GetValueAsync(new ValueProviderContext {
ExecutionContext
= context.ExecutionContext }, context.CancellationToken).ConfigureAwait(false);
112
var targetTag = await cir.GetValueAsync(new ValueProviderContext {
ExecutionContext
= context.ExecutionContext }, context.CancellationToken).ConfigureAwait(false);
9 references to ExecutionContext
Aspire.Hosting (9)
ApplicationModel\ContainerImageReference.cs (2)
47
if (context.
ExecutionContext
?.ServiceProvider is { } serviceProvider)
53
context.
ExecutionContext
,
ApplicationModel\HostUrl.cs (7)
44
if (context.
ExecutionContext
?.IsRunMode == true)
50
var options = context.
ExecutionContext
.ServiceProvider.GetRequiredService<IOptions<DcpOptions>>();
52
var infoService = context.
ExecutionContext
.ServiceProvider.GetRequiredService<IDcpDependencyCheckService>();
63
var model = context.
ExecutionContext
.ServiceProvider.GetRequiredService<DistributedApplicationModel>();
103
if (context.
ExecutionContext
?.IsRunMode == true)
105
var options = context.
ExecutionContext
.ServiceProvider.GetRequiredService<IOptions<DcpOptions>>();
107
var infoService = context.
ExecutionContext
.ServiceProvider.GetRequiredService<IDcpDependencyCheckService>();