3 instantiations of DcpInstance
Aspire.Hosting (3)
Dcp\DcpNameGenerator.cs (3)
38
AddInstancesAnnotation(resource, [new
DcpInstance
(name, suffix, 0)]);
43
AddInstancesAnnotation(resource, [new
DcpInstance
(name, suffix, 0)]);
52
builder.Add(new
DcpInstance
(name, suffix, i));
5 references to DcpInstance
Aspire.Hosting (5)
ApplicationModel\DcpInstancesAnnotation.cs (2)
11
internal class DcpInstancesAnnotation(ImmutableArray<
DcpInstance
> instances) : IResourceAnnotation
13
public ImmutableArray<
DcpInstance
> Instances => instances;
Dcp\ApplicationExecutor.cs (1)
1517
private static
DcpInstance
GetDcpInstance(IResource resource, int instanceIndex)
Dcp\DcpNameGenerator.cs (2)
48
var builder = ImmutableArray.CreateBuilder<
DcpInstance
>(replicas);
58
private static void AddInstancesAnnotation(IResource resource, ImmutableArray<
DcpInstance
> instances)