Click or drag to resize

CommunicationLinkCollection.AddChain Method (IEnumerable<IServiceProvider>)

Adds multiple links to the collection at once, assuming that each item in the list either receives or transmits from the previous item. Usually, this contains a transmitter and receiver with zero or more transceivers or transponders in between.

Namespace:  AGI.Foundation.Communications
Assembly:  AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public List<ExtensibleObject> AddChain(
	IEnumerable<IServiceProvider> chain
)

Parameters

chain
Type: System.Collections.Generic.IEnumerable<IServiceProvider>
The elements of the chain to add to the collection, in order.

Return Value

Type: List<ExtensibleObject>
The new and existing links that are now in the collection.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when chain is null.
ArgumentExceptionThrown when the chain has fewer than two elements.
See Also