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