Skip to content
Docs Try Aspire
Docs Try

EndpointReferenceAnnotation Properties

Class Properties 4 members
An annotation that represents a reference from one resource to the endpoints of another resource.
Gets or sets the network identifier used as context for resolving endpoint addresses.
public NetworkIdentifier ContextNetworkID { get; set; }
EndpointNames Section titled EndpointNames HashSet<string>
Gets the set of specific endpoint names that are referenced. When EndpointReferenceAnnotation.UseAllEndpoints is true, this set is ignored.
public HashSet<string> EndpointNames { get; }
Gets the resource whose endpoints are being referenced.
public IResourceWithEndpoints Resource { get; }
Gets or sets a value indicating whether all endpoints on the referenced resource are included.
public bool UseAllEndpoints { get; set; }