5 references to ResourceNameAnnotation
Aspire.Hosting (5)
Dcp\ApplicationExecutor.cs (4)
1054svc.Annotate(CustomResource.ResourceNameAnnotation, sp.ModelResource.Name); 1085exe.Annotate(CustomResource.ResourceNameAnnotation, executable.Name); 1117exeSpec.Annotate(CustomResource.ResourceNameAnnotation, project.Name); 1476ctr.Annotate(CustomResource.ResourceNameAnnotation, container.Name);
Dcp\Model\ModelCommon.cs (1)
31public string? AppModelResourceName => Metadata.Annotations?.TryGetValue(ResourceNameAnnotation, out var value) is true ? value : null;