2 references to ResourceReplicaCount
Aspire.Hosting (2)
Dcp\ApplicationExecutor.cs (2)
1118
exeSpec.Annotate(CustomResource.
ResourceReplicaCount
, replicas.ToString(CultureInfo.InvariantCulture));
1910
if (resource is Executable exe && exe.Metadata.Annotations.TryGetValue(CustomResource.
ResourceReplicaCount
, out var value) && int.TryParse(value, CultureInfo.InvariantCulture, out var replicas) && replicas > 1)