Open Rails

Simulator.TrainList Members

Simulator.TrainList overview

Public Instance Constructors

Simulator.TrainList Constructor basis constructor

Public Instance Properties

Capacity (inherited from List)Gets or sets the total number of elements the internal data structure can hold without resizing.
Count (inherited from List)Gets the number of elements actually contained in the List`1.
Item (inherited from List)Gets or sets the element at the specified index.

Public Instance Methods

Add (inherited from List)
AddRange (inherited from List)
AsReadOnly (inherited from List)Returns a read-only IList`1 wrapper for the current collection.
BinarySearch (inherited from List)Overloaded.
CheckTrainNotStartedByNumber Check if numbered train is on startlist
Clear (inherited from List)Removes all elements from the List`1.
Contains (inherited from List)
ConvertAll{TOutput} (inherited from List)
CopyTo (inherited from List)Overloaded.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exists (inherited from List)
Find (inherited from List)
FindAll (inherited from List)
FindIndex (inherited from List)Overloaded.
FindLast (inherited from List)
FindLastIndex (inherited from List)Overloaded.
ForEach (inherited from List)
GetAITrainByName Search and return AITrain by name
GetAITrainByNumber Search and return AITrain by number
GetEnumerator (inherited from List)Returns an enumerator that iterates through the List`1.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetRange (inherited from List)Creates a shallow copy of a range of elements in the source List`1.
GetTrainByName Search and return Train by name - any type
GetTrainByNumber Search and return TRAIN by number - any type
GetType (inherited from Object)Gets the type of the current instance.
IndexOf (inherited from List)Overloaded.
Insert (inherited from List)
InsertRange (inherited from List)
LastIndexOf (inherited from List)Overloaded.
Remove (inherited from List)
RemoveAll (inherited from List)
RemoveAt (inherited from List)Removes the element at the specified index of the List`1.
RemoveRange (inherited from List)Removes a range of elements from the List`1.
Reverse (inherited from List)Overloaded. Reverses the order of the elements in the entire List`1.
Sort (inherited from List)Overloaded. Sorts the elements in the entire List`1 using the default comparer.
ToArray (inherited from List)Copies the elements of the List`1 to a new array.
ToString (inherited from Object)Returns a string that represents the current object.
TrimExcess (inherited from List)Sets the capacity to the actual number of elements in the List`1, if that number is less than a threshold value.
TrueForAll (inherited from List)

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

TrainList Class | ORTS Namespace