[]
        
(Showing Draft Content)

C1.DataCollection.C1DelegateList-1.-ctor

C1DelegateList Constructor

C1DelegateList(int, Func<int, T>)

Initializes a new instance of the C1DelegateList<T> class.

Declaration
public C1DelegateList(int count, Func<int, T> select)
Parameters
Type Name Description
int count

The number of items.

Func<int, T> select

The select function used to get the items.

C1DelegateList(IReadOnlyList<T>)

Initializes a new instance of the C1DelegateList<T> class.

Declaration
public C1DelegateList(IReadOnlyList<T> list)
Parameters
Type Name Description
IReadOnlyList<T> list

The list.

C1DelegateList(IList)

Initializes a new instance of the C1DelegateList<T> class.

Declaration
public C1DelegateList(IList list)
Parameters
Type Name Description
IList list

The list.

C1DelegateList(Func<int>, Func<int, T>)

Initializes a new instance of the C1DelegateList<T> class.

Declaration
public C1DelegateList(Func<int> getCount, Func<int, T> select)
Parameters
Type Name Description
Func<int> getCount

Function that returns the number of items.

Func<int, T> select

The select function used to get the items.