Show / Hide Table of Contents

Class SerialNumberAllocationContainer

Holds a set of SerialNumberAllocations.

Inheritance
System.Object
SerialNumberAllocationContainer
Implements
System.Collections.Generic.IEnumerable<SerialNumberAllocation>
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 SerialNumberAllocationContainer : IEnumerable<SerialNumberAllocation>, IEnumerable

Properties

Count

The number of SerialNumberAllocations in the container.

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

Item[Int32]

The SerialNumberAllocation at the given index.

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

Zero-based index to retrieve.

Property Value
Type Description
SerialNumberAllocation

Methods

AddAllocation(SerialNumberAllocation)

Adds a serial number allocation to the collection.

Declaration
public void AddAllocation(SerialNumberAllocation serialNumberAllocation_)
Parameters
Type Name Description
SerialNumberAllocation serialNumberAllocation_

The serial number allocation to be added.

Clear()

Clear out the contents of the container.

Declaration
public void Clear()

GetEnumerator()

Provides an iterator over the collection members.

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

A strongly typed iterator over the collection members.

Remarks

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

GetEnumerator1()

Declaration
public IEnumerator GetEnumerator1()
Returns
Type Description
System.Collections.IEnumerator

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