22 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)
733if (referenceExpression.IsConditional) 758if (referenceExpression is { IsConditional: true, Name: string name }) 766if (provider is ReferenceExpression { IsConditional: true, Name: string nestedName } conditional)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
275ReferenceExpression { IsConditional: true } re => EvalConditionalExpr(re),
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
306if (expr.IsConditional)
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
233if (expr.IsConditional)
Aspire.Hosting.Azure.Sandboxes (1)
AzureSandboxContainerDeployment.cs (1)
1255if (expression.IsConditional)
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
64if (expr.IsConditional)
Aspire.Hosting.Foundry (2)
HostedAgent\AzureHostedAgentResource.cs (2)
366ReferenceExpression referenceExpression when referenceExpression.IsConditional => 429if (expression.IsConditional)
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
591if (expr.IsConditional)
Aspire.Hosting.Tests (2)
ReferenceExpressionTests.cs (2)
148Assert.True(conditional.IsConditional); 165Assert.True(conditional.IsConditional);