DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1DelegateList<T> Class / C1DelegateList<T> Constructor / C1DelegateList<T> Constructor(Func<Int32>,Func<Int32,T>)
Function that returns the number of items.
The select function used to get the items.

In This Topic
    C1DelegateList<T> Constructor(Func<Int32>,Func<Int32,T>)
    In This Topic
    Initializes a new instance of the C1DelegateList<T> class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal getCount As Func(Of Integer), _
       ByVal select As Func(Of Integer,T) _
    )
    public C1DelegateList<T>( 
       Func<int> getCount,
       Func<int,T> select
    )

    Parameters

    getCount
    Function that returns the number of items.
    select
    The select function used to get the items.
    See Also