Share via


NetworkEndpointSnapshotList Class

Definition

Holds a list of NetworkEndpointSnapshot for an Endpoint, providing thread-safe enumeration and addition.

public class NetworkEndpointSnapshotList : System.Collections.Generic.IEnumerable<Aspire.Hosting.ApplicationModel.NetworkEndpointSnapshot>
type NetworkEndpointSnapshotList = class
    interface seq<NetworkEndpointSnapshot>
    interface IEnumerable
Public Class NetworkEndpointSnapshotList
Implements IEnumerable(Of NetworkEndpointSnapshot)
Inheritance
NetworkEndpointSnapshotList
Implements

Constructors

NetworkEndpointSnapshotList()

Methods

GetEnumerator()

Provides a thread-safe enumerator over the network endpoint snapshots.

TryAdd(NetworkIdentifier, ValueSnapshot<AllocatedEndpoint>)

Adds an AllocatedEndpoint snapshot for a specific network if one does not already exist.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to