[]
        
(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
List<TItem>
ListEx<TItem, TItemInterface>
Implements
IList<TItem>
IReadOnlyList<TItemInterface>
IReadOnlyCollection<TItemInterface>
IEnumerable<TItemInterface>
Inherited Members

Constructors

ListEx()

public ListEx()

Methods

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

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

Parameters

method Func<TItem, T>

Returns

IEnumerable<T>

Type Parameters

T