14 references to MatchValue
Aspire.Hosting (4)
ApplicationModel\ExpressionResolver.cs (1)
16
var branch = string.Equals(conditionResult.Value, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase) ? expr.WhenTrue! : expr.WhenFalse!;
ApplicationModel\ReferenceExpression.cs (3)
109
/// Gets the condition value provider whose result is compared to <see cref="
MatchValue
"/>,
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
"/>,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
220
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
231
new BinaryExpression(ResolveValue(conditionVal).Compile(), BinaryBicepOperator.Equal, new StringLiteralExpression(expr.
MatchValue
!)),
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
320
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
331
new BinaryExpression(BicepFunction.ToLower(ResolveValue(conditionVal).Compile()).Compile(), BinaryBicepOperator.Equal, new StringLiteralExpression((expr.
MatchValue
?? string.Empty).ToLowerInvariant())),
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceWebsiteContext.cs (2)
247
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
258
new BinaryExpression(BicepFunction.ToLower(ResolveValue(conditionVal).Compile()).Compile(), BinaryBicepOperator.Equal, new StringLiteralExpression((expr.
MatchValue
?? string.Empty).ToLowerInvariant())),
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
68
var branch = string.Equals(conditionStr, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
Aspire.Hosting.Foundry (1)
HostedAgent\AzureHostedAgentResource.cs (1)
436
var branch = string.Equals(conditionValue, expression.
MatchValue
, StringComparison.OrdinalIgnoreCase) ? expression.WhenTrue! : expression.WhenFalse!;
Aspire.Hosting.Kubernetes (2)
KubernetesResource.cs (2)
604
var branch = string.Equals(conditionStr, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
678
var matchValue = System.Text.Json.JsonSerializer.Serialize((expr.
MatchValue
?? string.Empty).ToLowerInvariant());