[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.ListEx-2

Class ListEx<TItem, TItemInterface>

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

Represents a list that can be used as a read-only list of interfaces supported by the list items.

public class ListEx<TItem, TItemInterface> : List<TItem>, IList<TItem>, ICollection<TItem>, IList, ICollection, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IReadOnlyList<TItemInterface>, IReadOnlyCollection<TItemInterface>, IEnumerable<TItemInterface>, IEnumerable where TItem : TItemInterface

Type Parameters

TItem

The type of items in the collection.

TItemInterface

The interface supported by the items.

Inheritance
object
System.Collections.Generic.List<T><TItem>
ListEx<TItem, TItemInterface>
Implements
System.Collections.Generic.IList<T><TItem>
System.Collections.Generic.ICollection<T><TItem>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T><TItem>
System.Collections.Generic.IReadOnlyCollection<T><TItem>
System.Collections.Generic.IEnumerable<T><TItem>
System.Collections.Generic.IReadOnlyList<T><TItemInterface>
System.Collections.Generic.IReadOnlyCollection<T><TItemInterface>
System.Collections.Generic.IEnumerable<T><TItemInterface>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<TItem>.Add(TItem)
System.Collections.Generic.List<TItem>.AddRange(System.Collections.Generic.IEnumerable<TItem>)
System.Collections.Generic.List<TItem>.AsReadOnly()
System.Collections.Generic.List<TItem>.BinarySearch(int, int, TItem, System.Collections.Generic.IComparer<TItem>)
System.Collections.Generic.List<TItem>.BinarySearch(TItem)
System.Collections.Generic.List<TItem>.BinarySearch(TItem, System.Collections.Generic.IComparer<TItem>)
System.Collections.Generic.List<TItem>.Clear()
System.Collections.Generic.List<TItem>.Contains(TItem)
System.Collections.Generic.List<TItem>.ConvertAll<TOutput>(System.Converter<TItem, TOutput>)
System.Collections.Generic.List<TItem>.CopyTo(TItem[])
System.Collections.Generic.List<TItem>.CopyTo(int, TItem[], int, int)
System.Collections.Generic.List<TItem>.CopyTo(TItem[], int)
System.Collections.Generic.List<TItem>.Exists(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.Find(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindAll(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindIndex(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindIndex(int, System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindIndex(int, int, System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindLast(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindLastIndex(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindLastIndex(int, System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.FindLastIndex(int, int, System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.ForEach(System.Action<TItem>)
System.Collections.Generic.List<TItem>.GetEnumerator()
System.Collections.Generic.List<TItem>.GetRange(int, int)
System.Collections.Generic.List<TItem>.IndexOf(TItem)
System.Collections.Generic.List<TItem>.IndexOf(TItem, int)
System.Collections.Generic.List<TItem>.IndexOf(TItem, int, int)
System.Collections.Generic.List<TItem>.Insert(int, TItem)
System.Collections.Generic.List<TItem>.InsertRange(int, System.Collections.Generic.IEnumerable<TItem>)
System.Collections.Generic.List<TItem>.LastIndexOf(TItem)
System.Collections.Generic.List<TItem>.LastIndexOf(TItem, int)
System.Collections.Generic.List<TItem>.LastIndexOf(TItem, int, int)
System.Collections.Generic.List<TItem>.Remove(TItem)
System.Collections.Generic.List<TItem>.RemoveAll(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.RemoveAt(int)
System.Collections.Generic.List<TItem>.RemoveRange(int, int)
System.Collections.Generic.List<TItem>.Reverse()
System.Collections.Generic.List<TItem>.Reverse(int, int)
System.Collections.Generic.List<TItem>.Sort()
System.Collections.Generic.List<TItem>.Sort(System.Collections.Generic.IComparer<TItem>)
System.Collections.Generic.List<TItem>.Sort(int, int, System.Collections.Generic.IComparer<TItem>)
System.Collections.Generic.List<TItem>.Sort(System.Comparison<TItem>)
System.Collections.Generic.List<TItem>.ToArray()
System.Collections.Generic.List<TItem>.TrimExcess()
System.Collections.Generic.List<TItem>.TrueForAll(System.Predicate<TItem>)
System.Collections.Generic.List<TItem>.Capacity
System.Collections.Generic.List<TItem>.Count
System.Collections.Generic.List<TItem>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ListEx()

public ListEx()

Methods

Select<T>(Func<TItem, T>)

public IEnumerable<T> Select<T>(Func<TItem, T> method)

Parameters

method System.Func<T, TResult><TItem, T>

Returns

System.Collections.Generic.IEnumerable<T><T>

Type Parameters

T