19 references to IsConditional
Aspire.Hosting (12)
ApplicationModel\ExpressionResolver.cs (1)
13if (expr.IsConditional)
ApplicationModel\ReferenceExpression.cs (8)
110/// or <see langword="null"/> when <see cref="IsConditional"/> is <see langword="false"/>. 116/// or <see langword="null"/> when <see cref="IsConditional"/> is <see langword="false"/>. 122/// or <see langword="null"/> when <see cref="IsConditional"/> is <see langword="false"/>. 128/// or <see langword="null"/> when <see cref="IsConditional"/> is <see langword="false"/>. 134/// or <see langword="null"/> when <see cref="IsConditional"/> is <see langword="false"/>. 142if (IsConditional) 180IsConditional 191if (IsConditional)
Publishing\ManifestPublishingContext.cs (3)
732if (referenceExpression.IsConditional) 757if (referenceExpression is { IsConditional: true, Name: string name }) 765if (provider is ReferenceExpression { IsConditional: true, Name: string nestedName } conditional)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
234ReferenceExpression { IsConditional: true } re => EvalConditionalExpr(re),
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
291if (expr.IsConditional)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
200if (expr.IsConditional)
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
64if (expr.IsConditional)
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
434if (expr.IsConditional)
Aspire.Hosting.Tests (2)
ReferenceExpressionTests.cs (2)
148Assert.True(conditional.IsConditional); 165Assert.True(conditional.IsConditional);