13 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)
210
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
221
new BinaryExpression(ResolveValue(conditionVal).Compile(), BinaryBicepOperator.Equal, new StringLiteralExpression(expr.
MatchValue
!)),
Aspire.Hosting.Azure.AppContainers (2)
BaseContainerAppContext.cs (2)
305
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
316
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)
214
var branch = string.Equals(staticCondition, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
225
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.Kubernetes (2)
KubernetesResource.cs (2)
447
var branch = string.Equals(conditionStr, expr.
MatchValue
, StringComparison.OrdinalIgnoreCase)
510
var escapedMatch = (expr.
MatchValue
?? string.Empty).ToLowerInvariant().Replace("\\", "\\\\").Replace("\"", "\\\"");