11 references to Condition
Aspire.Hosting (5)
ApplicationModel\ExpressionResolver.cs (1)
15
var conditionResult = await ResolveInternalAsync(expr.
Condition
!, context).ConfigureAwait(false);
ApplicationModel\ReferenceExpression.cs (4)
24
/// expressions based on the string value of a <see cref="
Condition
"/>. Created via
115
/// Gets the expression to evaluate when <see cref="
Condition
"/> evaluates to <see cref="MatchValue"/>,
121
/// Gets the expression to evaluate when <see cref="
Condition
"/> does not evaluate to <see cref="MatchValue"/>,
127
/// Gets the value that <see cref="
Condition
"/> is compared against to select the <see cref="WhenTrue"/> branch,
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
205
var conditionVal = Eval(expr.
Condition
!);
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
293
var (conditionVal, _) = ProcessValue(expr.
Condition
!, secretType, parent: expr);
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
202
var (conditionVal, _) = ProcessValue(expr.
Condition
!, secretType, parent: expr, isSlot);
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
66
var conditionStr = await expr.
Condition
!.GetValueAsync(default).ConfigureAwait(false);
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
438
if (expr.
Condition
is ParameterResource conditionParam)
445
var conditionStr = await expr.
Condition
!.GetValueAsync(conditionContext, default).ConfigureAwait(false);