Skip to main content

Class ConnectorCollection

Represents a Collection of IConnectors

Assembly: Meadow.Contracts.dll
View Source
Declaration
public class ConnectorCollection : IEnumerable<IConnector>, IEnumerable

Implements:
System.Collections.Generic.IEnumerable<Meadow.IConnector>, System.Collections.IEnumerable

Properties

Empty

Retrieves an empty ConnectorCollection

View Source
Declaration
public static ConnectorCollection Empty { get; }

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

View Source
Declaration
public IEnumerator<IConnector> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<Meadow.IConnector>: An enumerator that can be used to iterate through the collection.### Add(IConnector) Adds a connector to the collection

View Source
Declaration
protected void Add(IConnector connector)
Parameters
TypeNameDescription
Meadow.IConnectorconnectorThe Connector instance to add

Implements

  • System.Collections.Generic.IEnumerable<Meadow.IConnector>
  • System.Collections.IEnumerable

Extension Methods

  • System.Collections.Generic.IEnumerable{Meadow.IConnector}.Meadow.ExtensionMethods.Contains``1(Meadow.IConnector[])
  • System.Collections.Generic.IEnumerable{Meadow.IConnector}.Meadow.ExtensionMethods.FirstIndexOf``1(Meadow.IConnector[])