EndpointMetadataCollection EndpointMetadataCollection EndpointMetadataCollection Class

Definition

A collection of arbitrary metadata associated with an endpoint.

public sealed class EndpointMetadataCollection : System.Collections.Generic.IEnumerable<object>, System.Collections.Generic.IReadOnlyCollection<object>, System.Collections.Generic.IReadOnlyList<object>
type EndpointMetadataCollection = class
    interface IReadOnlyList<obj>
    interface seq<obj>
    interface IEnumerable
    interface IReadOnlyCollection<obj>
Public NotInheritable Class EndpointMetadataCollection
Implements IEnumerable(Of Object), IReadOnlyCollection(Of Object), IReadOnlyList(Of Object)
Inheritance
EndpointMetadataCollectionEndpointMetadataCollectionEndpointMetadataCollection
Implements

Remarks

EndpointMetadataCollection instances contain a list of metadata items of arbitrary types. The metadata items are stored as an ordered collection with items arranged in ascending order of precedence.

Constructors

EndpointMetadataCollection(IEnumerable<Object>) EndpointMetadataCollection(IEnumerable<Object>) EndpointMetadataCollection(IEnumerable<Object>)

Creates a new instance of EndpointMetadataCollection.

EndpointMetadataCollection(Object[]) EndpointMetadataCollection(Object[]) EndpointMetadataCollection(Object[])

Creates a new instance of EndpointMetadataCollection.

Fields

Empty Empty Empty

An empty EndpointMetadataCollection.

Properties

Count Count Count

Gets the count of metadata items.

Item[Int32] Item[Int32] Item[Int32]

Gets the item at index.

Methods

GetEnumerator() GetEnumerator() GetEnumerator()

Gets an IEnumerator of all metadata items.

GetMetadata<T>() GetMetadata<T>() GetMetadata<T>()

Gets the most significant metadata item of type T.

GetOrderedMetadata<T>() GetOrderedMetadata<T>() GetOrderedMetadata<T>()

Gets the metadata items of type T in ascending order of precedence.

Explicit Interface Implementations

IEnumerable<Object>.GetEnumerator() IEnumerable<Object>.GetEnumerator() IEnumerable<Object>.GetEnumerator()

Gets an IEnumerator<T> of all metadata items.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets an IEnumerator of all metadata items.

Applies to