Show / Hide Table of Contents

Class MeasurementContainer

Holds a set of Measurements associated with a Product.

Inheritance
System.Object
MeasurementContainer
Implements
System.Collections.Generic.IEnumerable<Measurement>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class MeasurementContainer : IEnumerable<Measurement>, IEnumerable

Properties

Count

The number of Measurements in the container.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Item[Int32]

The Measurement at the given index.

Declaration
public Measurement this[int zeroBasedIndex_] { get; }
Parameters
Type Name Description
System.Int32 zeroBasedIndex_

Zero-based index to retrieve.

Property Value
Type Description
Measurement

Methods

AddMeasurement(Measurement)

Adds the given measurement_ to the container.

Declaration
public void AddMeasurement(Measurement measurement_)
Parameters
Type Name Description
Measurement measurement_

Measurement to be added.

Clear()

Removes all Measurements from the container.

Declaration
public void Clear()

GetEnumerator()

Provides an iterator over the collection members.

Declaration
public IEnumerator<Measurement> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<Measurement>

A strongly typed iterator over the collection members.

Remarks

This method is present primarily to support the For ... Each syntax.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Provides a strongly typed iterator over the collection members.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An iterator over the collection members.

Remarks

This method is present primarily to support the For ... Each syntax.

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Back to top Generated by DocFX