Click or drag to resize
SerialNumbersT Methods

The SerialNumbersT generic type exposes the following members.

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 methodGetItem
Given a serialNumber, return the item with that serial number
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 methodSave
Write the items in order to a TextWriter
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