Click or drag to resize

WeakReferenceListBaseT Methods

The WeakReferenceListBaseT generic type exposes the following members.

Public methodAdd
Adds an item to a list
Public methodAddRange
Adds the elements of the given collection to the end of this list.
Public methodBinarySearch
Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.
Public methodClear
Removes all items from the list and frees the array
Public methodClearAndUnpersistContainedObjects
Removes all items from the list and unpersists all contained objects
Public methodContains
Checks if an item is contained in the list
Public methodCopyTo(Array, Int32)
Copies list to an array
Public methodCopyTo(T, Int32)
Copies list items to an array
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodIndexOf
Finds the first index of an item
Public methodInsert
Inserts an item at a specified index
Public methodInsertRange
Inserts the elements of the given collection at a given index.
Public methodLast
Get the value at the last position in the list
Public methodPersist
Persists this object. Override in your subclasses when you want fields of your class to be persisted in some special way.
(Overrides OptimizedPersistablePersist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable).)
Public methodRemove
Remove an item
Public methodRemoveAt
Removes an item at a specified index
Public methodRemoveRange
Removes a range of items
Public methodUnpersist
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
(Overrides OptimizedPersistableUnpersist(SessionBase).)
Extension Methods
See Also