Class BoundsCheckableListT

BoundsCheckableList<T> class

Represents BoundsCheckableList - wrapper around System.Collections.Generic.List.

public class BoundsCheckableList<T> : IList<T>
    where T : IBoundsCheckableItem

Constructors

NameDescription
BoundsCheckableList()Initializes a new instance of the BoundsCheckableList class.
BoundsCheckableList(BoundsCheckMode, double, double)Initializes a new instance of the BoundsCheckableList class.

Properties

NameDescription
Count { get; }Gets the number of elements contained in the System.Collections.Generic.List.
IsReadOnly { get; }Gets the value indicating if collection is readonly.
Item { get; set; }Gets or sets paragraph from or to collection.

Methods

NameDescription
Add(T)Adds an object to the end of the System.Collections.Generic.List depending on “boundsCheckMode” parameter.
Clear()Removes all elements from the System.Collections.Generic.List.
Contains(T)Determines whether an element is in the System.Collections.Generic.List.
CopyTo(T[], int)
GetEnumerator()Returns an enumerator that iterates through the System.Collections.Generic.List.
IndexOf(T)Searches for the specified object and returns the zero-based index of the first occurrence within the entire System.Collections.Generic.List.
Insert(int, T)Inserts an element into the System.Collections.Generic.List at the specified index.
Remove(T)Removes the first occurrence of a specific object from the System.Collections.Generic.List.
RemoveAt(int)Removes the element at the specified index of the System.Collections.Generic.List.
UpdateBoundsCheckMode(BoundsCheckMode)Updates boundsCheckMode parameter for initialized collection.
UpdateBoundsCheckMode(BoundsCheckMode, double, double)Updates boundsCheckMode parameter for initialized collection.

See Also