ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common.Implementation Namespace / ItemCollectionExtensions Class / FromLambda<TR> Method

In This Topic
    FromLambda<TR> Method
    In This Topic
    Create new IItemCollection instance from lambdas.
    Syntax
    'Declaration
     
    Public Shared Function FromLambda(Of TR)( _
       ByVal getCount As Func(Of Integer), _
       ByVal getItem As Func(Of Integer,TR) _
    ) As IItemCollection(Of TR)
    public static IItemCollection<TR> FromLambda<TR>( 
       Func<int> getCount,
       Func<int,TR> getItem
    )

    Parameters

    getCount
    getItem

    Type Parameters

    TR
    See Also