[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.ListEx-2

ListEx<TItem, TItemInterface> Class

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

Inheritance
List<TItem>
ListEx<TItem, TItemInterface>
Implements
IList<TItem>
IReadOnlyList<TItemInterface>
IReadOnlyCollection<TItemInterface>
IEnumerable<TItemInterface>
Namespace: GrapeCity.Documents.Common
Assembly: DS.Documents.Imaging.dll
Syntax
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
Public Class ListEx(Of TItem As TItemInterface, TItemInterface)
    Inherits List(Of TItem)
    Implements IList(Of TItem), ICollection(Of TItem), IList, ICollection, IReadOnlyList(Of TItem), IReadOnlyCollection(Of TItem), IEnumerable(Of TItem), IReadOnlyList(Of TItemInterface), IReadOnlyCollection(Of TItemInterface), IEnumerable(Of TItemInterface), IEnumerable
Type Parameters
Name Description
TItem

The type of items in the collection.

TItemInterface

The interface supported by the items.

Constructors

Name Description
ListEx()

Methods

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