Skip to main content

Class SensorCollection

Represents a Collection of ISensors

Assembly: Meadow.Contracts.dll
View Source
Declaration
public class SensorCollection : IEnumerable<ISensor>, IEnumerable

Implements:
System.Collections.Generic.IEnumerable<Meadow.Peripherals.Sensors.ISensor>, System.Collections.IEnumerable

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

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

System.Collections.Generic.IEnumerator<Meadow.Peripherals.Sensors.ISensor>: An enumerator that can be used to iterate through the collection.

Implements

  • System.Collections.Generic.IEnumerable<Meadow.Peripherals.Sensors.ISensor>
  • System.Collections.IEnumerable

Extension Methods

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