Open Rails

TrainQueue Members

TrainQueue overview

Public Instance Constructors

TrainQueue Constructor Initializes a new instance of the TrainQueue class.

Public Instance Properties

Count (inherited from Queue)Gets the number of elements contained in the Queue`1.

Public Instance Methods

Clear (inherited from Queue)Removes all objects from the Queue`1.
Contains (inherited from Queue)
ContainsTrain
CopyTo (inherited from Queue)
Dequeue (inherited from Queue)Removes and returns the object at the beginning of the Queue`1.
Enqueue (inherited from Queue)
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from Queue)Returns an enumerator that iterates through the Queue`1.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the type of the current instance.
Peek (inherited from Queue)Returns the object at the beginning of the Queue`1 without removing it.
PeekTrain
ToArray (inherited from Queue)Copies the Queue`1 elements to a new array.
ToString (inherited from Object)Returns a string that represents the current object.
TrimExcess (inherited from Queue)Sets the capacity to the actual number of elements in the Queue`1, if that number is less than 90 percent of current capacity.

Protected Instance Methods

Finalize (inherited from Object)Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TrainQueue Class | ORTS Namespace