Click or drag to resize
LongSerialNumbersT Class
Provides serial numbers to each Elements.
Inheritance Hierarchy
SystemObject
  Bio.UtilLongSerialNumbersT

Namespace: Bio.Util
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class LongSerialNumbers<T>

Type Parameters

T
Type of elements to store.

The LongSerialNumbersT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of elements present in the LongSerialNumbers.
Public propertyLast
The last serial number assigned.
Top
Methods
  NameDescription
Public methodContains
Tells if an item already has a serial number
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNew
Assigns a serial number to a new item. Raises an exception of the item is not new.
Public methodGetNewOrOld
Returns the serial number of an item. If the item has already been assigned a serial number, returns that number; otherwise, assigns a new number to the item and returns that new number.
Public methodGetOld
Finds the serial number of item to which a serial number has already been assigned. Raises an exception of the item is new.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetOld
Finds the serial number of item to which a serial number has already been assigned.
Top
See Also