EndpointReferenceAnnotation
Class sealed net8.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 ConstructorsProperties4
Section titled PropertiesContextNetworkIDget; set Gets or sets the network identifier used as context for resolving endpoint addresses.
EndpointNamesgetHashSet<string> Gets the set of specific endpoint names that are referenced. When
EndpointReferenceAnnotation.UseAllEndpoints is true, this set is ignored. Resourceget Gets the resource whose endpoints are being referenced.
UseAllEndpointsget; setbool Gets or sets a value indicating whether all endpoints on the referenced resource are included.