1 write to Format
Aspire.Hosting (1)
ApplicationModel\ReferenceExpression.cs (1)
23Format = format;
13 references to Format
Aspire.Hosting (5)
ApplicationModel\ExpressionResolver.cs (2)
99var value = expr.Format.Length == 0 ? null : string.Format(CultureInfo.InvariantCulture, expr.Format, args);
ApplicationModel\ReferenceExpression.cs (3)
49string.Format(CultureInfo.InvariantCulture, Format, _manifestExpressions); 59if (Format.Length == 0) 70return string.Format(CultureInfo.InvariantCulture, Format, args);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
165return new BicepFormatString(expr.Format, args);
Aspire.Hosting.Azure.AppContainers (2)
ContainerAppContext.cs (2)
620if (expr.Format == "{0}" && expr.ValueProviders.Count == 1) 641return (new BicepFormatString(expr.Format, args), finalSecretType);
Aspire.Hosting.Docker (2)
DockerComposeServiceResourceExtensions.cs (2)
65if (expr is { Format: "{0}", ValueProviders.Count: 1 }) 79return string.Format(CultureInfo.InvariantCulture, expr.Format, args);
Aspire.Hosting.Kubernetes (2)
KubernetesServiceResourceExtensions.cs (2)
67if (expr is { Format: "{0}", ValueProviders.Count: 1 }) 81return string.Format(CultureInfo.InvariantCulture, expr.Format, args);
Aspire.Hosting.Tests (1)
ReferenceExpressionTests.cs (1)
21Assert.Equal(expectedFormat, refExpression.Format);