Click or drag to resize

ExtendedListT Class

A list that behaves as if it were infinitely long: when reading an item beyond the last element the last element is returned when writing an item beyond the last element the last element is copied until the new position is reached the copies are shallow copies. The difference to InfiniteList is the handling of default values.
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesExtendedListT

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class ExtendedList<T>

Type Parameters

T

The ExtendedListT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDefaultItem
the current default item
Public propertyItem
item of given index
Public propertyItems
underlying list of items
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodItemIndex
return the index of an item in the underlying list based on the index of the item in the infinite list
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGet
try to get an item at index ind
Top
See Also