Sage Modeling and Simulation Library

WeakList Members

The WeakList type exposes the following members.


  Name Description
Public method WeakList
Creates a new instance of the WeakList class.


  Name Description
Public method Add
Adds an item to the IList.
Public method Clear
Removes all items from the IList.
Public method Collapse
Collapses this instance, removing weak reference objects for which the targets have been garbage collected.
Public method Contains
Determines whether the IList contains a specific value.
Public method CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Determines the index of a specific item in the IList.
Public method Insert
Inserts an item to the IList at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Removes the first occurrence of a specific object from the IList.
Public method RemoveAt
Removes the IList item at the specified index.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Public property Count
Gets the number of elements contained in the ICollection.
Public property IsFixedSize
Gets a value indicating whether the IList has a fixed size.
Public property IsReadOnly
Gets a value indicating whether the IList is read-only.
Public property IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Public property Item
Gets or sets the Object at the specified index.
Public property SyncRoot
Gets an object that can be used to synchronize access to the ICollection.