CommunicationLinkCollectionAddChain Method (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: 22.1.413.0 (22.1.413.0)
Syntaxpublic IEnumerable<ExtensibleObject> AddChain(
params IServiceProvider[] chain
)
Public Function AddChain (
ParamArray chain As IServiceProvider()
) As IEnumerable(Of ExtensibleObject)
public:
IEnumerable<ExtensibleObject^>^ AddChain(
... array<IServiceProvider^>^ chain
)
member AddChain :
chain : IServiceProvider[] -> IEnumerable<ExtensibleObject>
Parameters
- chain
- Type: SystemIServiceProvider
The elements of the chain to add to the collection, in order.
Return Value
Type:
IEnumerableExtensibleObjectThe new and existing links that are now in the collection.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when chain is null. |
ArgumentException | Thrown when the chain has fewer than two elements. |
See Also