SerialNumbersT Methods |
The SerialNumbersT generic type exposes the following members.
Name | Description | |
---|---|---|
Contains |
Tells if an item already has a serial number
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetItem |
Given a serialNumber, return the item with that serial number
| |
GetNew |
Assigns a serial number to a new item. Raises an exception of the item is not new.
| |
GetNewOrOld |
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.
| |
GetOld |
Finds the serial number of item to which a serial number has already been assigned. Raises an exception of the item is new.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Write the items in order to a TextWriter
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetOld |
Finds the serial number of item to which a serial number has already been assigned.
|