NetworkEndpointSnapshotList
Classnet10.0
Holds a list of
NetworkEndpointSnapshot for an Endpoint, providing thread-safe enumeration and addition. namespace Aspire.Hosting.ApplicationModel;
public class NetworkEndpointSnapshotList : System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot>, System.Collections.IEnumerable{ // ...}IEnumerable<NetworkEndpointSnapshot>IEnumerable
5 members
Constructors1
Section titled ConstructorsMethods4
Section titled Methods Adds or updates an AllocatedEndpoint value associated with a specific network in the snapshot list.
Gets an AllocatedEndpoint for a given network ID, waiting for it to appear if it is not already present.
Provides a thread-safe enumerator over the network endpoint snapshots.
bool Adds an AllocatedEndpoint snapshot for a specific network if one does not already exist.