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