Sage Modeling and Simulation Library

WeakList Methods

The WeakList type exposes the following members.

Methods


  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.)