EndpointReferenceAnnotation
Classsealednet10.0
An annotation that represents a reference from one resource to the endpoints of another resource.
namespace Aspire.Hosting.ApplicationModel;
public sealed class EndpointReferenceAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...}5 members
Constructors1
Section titled Constructors An annotation that represents a reference from one resource to the endpoints of another resource.
Properties4
Section titled PropertiesContextNetworkId get; set Gets or sets the network identifier used as context for resolving endpoint addresses.
ISet<string> Gets the set of specific endpoint names that are referenced. When
EndpointReferenceAnnotation.UseAllEndpoints is true, this set is ignored. UseAllEndpoints get; setbool Gets or sets a value indicating whether all endpoints on the referenced resource are included.