Class DiscoveryServiceListenerMetadataExtensions
System.Collections.Generic.IEnumerable<T> extensions.
Inheritance
System.Object
DiscoveryServiceListenerMetadataExtensions
Namespace: Copper.Service.Metadata
Assembly: Copper.Discovery.Service.dll
Syntax
public static class DiscoveryServiceListenerMetadataExtensions
Methods
View SourceToDiscoveryListenerMetadataCollection(ListenerMetadata)
Converts a
Declaration
public static ListenerMetadata ToDiscoveryListenerMetadataCollection(this ListenerMetadata listenerMetadata)
Parameters
Type | Name | Description |
---|---|---|
ListenerMetadata | listenerMetadata | The listener metadata. |
Returns
Type | Description |
---|---|
ListenerMetadata | The ListenerMetadata instance. |
ToDiscoveryListenerMetadataCollection(IEnumerable<ListenerMetadata>)
Converts an System.Collections.Generic.IEnumerable<T> instance to a ListenerMetadata[] instance.
Declaration
public static ListenerMetadata[] ToDiscoveryListenerMetadataCollection(this IEnumerable<ListenerMetadata> listenerMetadataCollection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ListenerMetadata> | listenerMetadataCollection | The listener metadata collection. |
Returns
Type | Description |
---|---|
ListenerMetadata[] | The ListenerMetadata[] instance. |